FirewallD not working properly on Fedora 25 The Next CEO of Stack OverflowSAMBA/CIFS connection errorwhat is `firewalld --nofork`Fedora 21 Port Forwarding with firewalld (firewall-cmd); how does it REALLY work? Or, does it?Fedora FirewallD blocking connection when disabledFirewalld forwarding between zones not workingFirewallD allow IP Range to port not workingFedora 25: firewalld settings won't take effectWindows interface rendering not working properly in Fedorafirewalld failed to apply rules / set_rule() failure when --reloadWhy systemctl reload firewalld on centos7 is not working?Keyboard not working properly on my ASUS laptop with Fedora

Running a General Election and the European Elections together

Why doesn't UK go for the same deal Japan has with EU to resolve Brexit?

Should I tutor a student who I know has cheated on their homework?

Rotate a column

What steps are necessary to read a Modern SSD in Medieval Europe?

Is there a difference between "Fahrstuhl" and "Aufzug"

Is it my responsibility to learn a new technology in my own time my employer wants to implement?

Flying from Cape Town to England and return to another province

How to delete every two lines after 3rd lines in a file contains very large number of lines?

Would this house-rule that treats advantage as a +1 to the roll instead (and disadvantage as -1) and allows them to stack be balanced?

Is micro rebar a better way to reinforce concrete than rebar?

The exact meaning of 'Mom made me a sandwich'

Calculator final project in Python

Method for adding error messages to a dictionary given a key

If the heap is zero-initialized for security, then why is the stack merely uninitialized?

Why the difference in type-inference over the as-pattern in two similar function definitions?

Why is information "lost" when it got into a black hole?

Example of a Mathematician/Physicist whose Other Publications during their PhD eclipsed their PhD Thesis

Poetry, calligrams and TikZ/PStricks challenge

A small doubt about the dominated convergence theorem

Easy to read palindrome checker

Find non-case sensitive string in a mixed list of elements?

Do they change the text of the seder in Israel?

What flight has the highest ratio of timezone difference to flight time?



FirewallD not working properly on Fedora 25



The Next CEO of Stack OverflowSAMBA/CIFS connection errorwhat is `firewalld --nofork`Fedora 21 Port Forwarding with firewalld (firewall-cmd); how does it REALLY work? Or, does it?Fedora FirewallD blocking connection when disabledFirewalld forwarding between zones not workingFirewallD allow IP Range to port not workingFedora 25: firewalld settings won't take effectWindows interface rendering not working properly in Fedorafirewalld failed to apply rules / set_rule() failure when --reloadWhy systemctl reload firewalld on centos7 is not working?Keyboard not working properly on my ASUS laptop with Fedora










0















I don't know what happened with FirewallD on recent updates but it's all messed up, first I had issues with my active rules on Fedora 24, where I supposedly have the samba-server services enabled but I couldnt connect, the solution was to manually add the 145 and 339 ports. But things get worse on Fedora 25, where I just can't even set a default zone. I can execute the firewall-cmd --set-default-zone FedoraServer command properly, however, upon issuing firewall-cmd --reload I get an error about a bad argument COMMIT. And on top of all if I just do systemctl restart firewalld I lose all the changes I made, e.g. if I now run firewall-cmd --get-default-zone I get an empty string. What's even worse is that runtime changes don't even come into effect because if I run firewall-cmd --add-port 22/tcp I can't still connect because (surprise!) none of my interfaces is bound to a zone (not even the default) and I can't even set a default zone because well, I can't even reload the service to apply changes. Has anyone run into these issues? How can I go about this? Right now, both my production servers are running without a firewall and this is driving me mad.



Edit:



These are two "strange" things in the log of systemctl status firewalld when the service is stopped (systemctl stop firewalld):




ERROR: Failed to flush eb firewall: '/usr/sbin/ebtables-restore --noflush' failed: Bad argument : 'COMMIT'.



...



ERROR: Failed to set policy of eb firewall: '/usr/sbin/ebtables-restore --noflush' failed: Bad argument : 'COMMIT'.











share|improve this question
















bumped to the homepage by Community 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • systemctl status firewalld reports something interesting?

    – Jakuje
    Dec 11 '16 at 8:24















0















I don't know what happened with FirewallD on recent updates but it's all messed up, first I had issues with my active rules on Fedora 24, where I supposedly have the samba-server services enabled but I couldnt connect, the solution was to manually add the 145 and 339 ports. But things get worse on Fedora 25, where I just can't even set a default zone. I can execute the firewall-cmd --set-default-zone FedoraServer command properly, however, upon issuing firewall-cmd --reload I get an error about a bad argument COMMIT. And on top of all if I just do systemctl restart firewalld I lose all the changes I made, e.g. if I now run firewall-cmd --get-default-zone I get an empty string. What's even worse is that runtime changes don't even come into effect because if I run firewall-cmd --add-port 22/tcp I can't still connect because (surprise!) none of my interfaces is bound to a zone (not even the default) and I can't even set a default zone because well, I can't even reload the service to apply changes. Has anyone run into these issues? How can I go about this? Right now, both my production servers are running without a firewall and this is driving me mad.



Edit:



These are two "strange" things in the log of systemctl status firewalld when the service is stopped (systemctl stop firewalld):




ERROR: Failed to flush eb firewall: '/usr/sbin/ebtables-restore --noflush' failed: Bad argument : 'COMMIT'.



...



ERROR: Failed to set policy of eb firewall: '/usr/sbin/ebtables-restore --noflush' failed: Bad argument : 'COMMIT'.











share|improve this question
















bumped to the homepage by Community 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • systemctl status firewalld reports something interesting?

    – Jakuje
    Dec 11 '16 at 8:24













0












0








0








I don't know what happened with FirewallD on recent updates but it's all messed up, first I had issues with my active rules on Fedora 24, where I supposedly have the samba-server services enabled but I couldnt connect, the solution was to manually add the 145 and 339 ports. But things get worse on Fedora 25, where I just can't even set a default zone. I can execute the firewall-cmd --set-default-zone FedoraServer command properly, however, upon issuing firewall-cmd --reload I get an error about a bad argument COMMIT. And on top of all if I just do systemctl restart firewalld I lose all the changes I made, e.g. if I now run firewall-cmd --get-default-zone I get an empty string. What's even worse is that runtime changes don't even come into effect because if I run firewall-cmd --add-port 22/tcp I can't still connect because (surprise!) none of my interfaces is bound to a zone (not even the default) and I can't even set a default zone because well, I can't even reload the service to apply changes. Has anyone run into these issues? How can I go about this? Right now, both my production servers are running without a firewall and this is driving me mad.



Edit:



These are two "strange" things in the log of systemctl status firewalld when the service is stopped (systemctl stop firewalld):




ERROR: Failed to flush eb firewall: '/usr/sbin/ebtables-restore --noflush' failed: Bad argument : 'COMMIT'.



...



ERROR: Failed to set policy of eb firewall: '/usr/sbin/ebtables-restore --noflush' failed: Bad argument : 'COMMIT'.











share|improve this question
















I don't know what happened with FirewallD on recent updates but it's all messed up, first I had issues with my active rules on Fedora 24, where I supposedly have the samba-server services enabled but I couldnt connect, the solution was to manually add the 145 and 339 ports. But things get worse on Fedora 25, where I just can't even set a default zone. I can execute the firewall-cmd --set-default-zone FedoraServer command properly, however, upon issuing firewall-cmd --reload I get an error about a bad argument COMMIT. And on top of all if I just do systemctl restart firewalld I lose all the changes I made, e.g. if I now run firewall-cmd --get-default-zone I get an empty string. What's even worse is that runtime changes don't even come into effect because if I run firewall-cmd --add-port 22/tcp I can't still connect because (surprise!) none of my interfaces is bound to a zone (not even the default) and I can't even set a default zone because well, I can't even reload the service to apply changes. Has anyone run into these issues? How can I go about this? Right now, both my production servers are running without a firewall and this is driving me mad.



Edit:



These are two "strange" things in the log of systemctl status firewalld when the service is stopped (systemctl stop firewalld):




ERROR: Failed to flush eb firewall: '/usr/sbin/ebtables-restore --noflush' failed: Bad argument : 'COMMIT'.



...



ERROR: Failed to set policy of eb firewall: '/usr/sbin/ebtables-restore --noflush' failed: Bad argument : 'COMMIT'.








fedora firewalld






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 13 '17 at 12:36









Community

1




1










asked Dec 11 '16 at 6:55









arielnmzarielnmz

302214




302214





bumped to the homepage by Community 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • systemctl status firewalld reports something interesting?

    – Jakuje
    Dec 11 '16 at 8:24

















  • systemctl status firewalld reports something interesting?

    – Jakuje
    Dec 11 '16 at 8:24
















systemctl status firewalld reports something interesting?

– Jakuje
Dec 11 '16 at 8:24





systemctl status firewalld reports something interesting?

– Jakuje
Dec 11 '16 at 8:24










1 Answer
1






active

oldest

votes


















0














You need to add the --permanent argument, otherwise you’re only changing the runtime configuration. When you reload the configuration, you’re removing all runtime configuration and loading in the permanent configuration. Similarly, when you restart the service or the system – runtime configuration is also lost. Read When is it necessary to reload FirewallD configuration? for a better explanation.



As for the COMMIT errors you’re seeing; your system must have some ebtables rules somewhere in your iptables. This is unsupported as per the firewalld.spec. Remove all your iptables firewall rules and try configuring your firewalld again without mixing management toolchains.






share|improve this answer























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f329547%2ffirewalld-not-working-properly-on-fedora-25%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    You need to add the --permanent argument, otherwise you’re only changing the runtime configuration. When you reload the configuration, you’re removing all runtime configuration and loading in the permanent configuration. Similarly, when you restart the service or the system – runtime configuration is also lost. Read When is it necessary to reload FirewallD configuration? for a better explanation.



    As for the COMMIT errors you’re seeing; your system must have some ebtables rules somewhere in your iptables. This is unsupported as per the firewalld.spec. Remove all your iptables firewall rules and try configuring your firewalld again without mixing management toolchains.






    share|improve this answer



























      0














      You need to add the --permanent argument, otherwise you’re only changing the runtime configuration. When you reload the configuration, you’re removing all runtime configuration and loading in the permanent configuration. Similarly, when you restart the service or the system – runtime configuration is also lost. Read When is it necessary to reload FirewallD configuration? for a better explanation.



      As for the COMMIT errors you’re seeing; your system must have some ebtables rules somewhere in your iptables. This is unsupported as per the firewalld.spec. Remove all your iptables firewall rules and try configuring your firewalld again without mixing management toolchains.






      share|improve this answer

























        0












        0








        0







        You need to add the --permanent argument, otherwise you’re only changing the runtime configuration. When you reload the configuration, you’re removing all runtime configuration and loading in the permanent configuration. Similarly, when you restart the service or the system – runtime configuration is also lost. Read When is it necessary to reload FirewallD configuration? for a better explanation.



        As for the COMMIT errors you’re seeing; your system must have some ebtables rules somewhere in your iptables. This is unsupported as per the firewalld.spec. Remove all your iptables firewall rules and try configuring your firewalld again without mixing management toolchains.






        share|improve this answer













        You need to add the --permanent argument, otherwise you’re only changing the runtime configuration. When you reload the configuration, you’re removing all runtime configuration and loading in the permanent configuration. Similarly, when you restart the service or the system – runtime configuration is also lost. Read When is it necessary to reload FirewallD configuration? for a better explanation.



        As for the COMMIT errors you’re seeing; your system must have some ebtables rules somewhere in your iptables. This is unsupported as per the firewalld.spec. Remove all your iptables firewall rules and try configuring your firewalld again without mixing management toolchains.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 14 '17 at 6:25









        AeyounAeyoun

        5801924




        5801924



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f329547%2ffirewalld-not-working-properly-on-fedora-25%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

            Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

            Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.