Iptables: unrecognized service

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












Why below command works correctly:



sudo iptables-save


But below command has error: iptable: unrecognized service



sudo service iptables start


An also I install iptables and did below commands properly:



apt-get install iptables-persistent
invoke-rc.d iptables-persistent save
service ufw start






share|improve this question


























    up vote
    0
    down vote

    favorite












    Why below command works correctly:



    sudo iptables-save


    But below command has error: iptable: unrecognized service



    sudo service iptables start


    An also I install iptables and did below commands properly:



    apt-get install iptables-persistent
    invoke-rc.d iptables-persistent save
    service ufw start






    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Why below command works correctly:



      sudo iptables-save


      But below command has error: iptable: unrecognized service



      sudo service iptables start


      An also I install iptables and did below commands properly:



      apt-get install iptables-persistent
      invoke-rc.d iptables-persistent save
      service ufw start






      share|improve this question














      Why below command works correctly:



      sudo iptables-save


      But below command has error: iptable: unrecognized service



      sudo service iptables start


      An also I install iptables and did below commands properly:



      apt-get install iptables-persistent
      invoke-rc.d iptables-persistent save
      service ufw start








      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 28 at 9:13

























      asked Apr 27 at 22:53









      ParisaN

      1127




      1127




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote













          As you added the tag ufw i'm guessing you are using the default ubuntu firewall manager ufw and not iptables you can disable the ufw firewall with



          sudo ufw disable


          ufw has an excellent manual you can access it with man ufw






          share|improve this answer






















          • Excuse me I edited my question.
            – ParisaN
            Apr 28 at 7:18










          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          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',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1028992%2fiptables-unrecognized-service%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          1
          down vote













          As you added the tag ufw i'm guessing you are using the default ubuntu firewall manager ufw and not iptables you can disable the ufw firewall with



          sudo ufw disable


          ufw has an excellent manual you can access it with man ufw






          share|improve this answer






















          • Excuse me I edited my question.
            – ParisaN
            Apr 28 at 7:18














          up vote
          1
          down vote













          As you added the tag ufw i'm guessing you are using the default ubuntu firewall manager ufw and not iptables you can disable the ufw firewall with



          sudo ufw disable


          ufw has an excellent manual you can access it with man ufw






          share|improve this answer






















          • Excuse me I edited my question.
            – ParisaN
            Apr 28 at 7:18












          up vote
          1
          down vote










          up vote
          1
          down vote









          As you added the tag ufw i'm guessing you are using the default ubuntu firewall manager ufw and not iptables you can disable the ufw firewall with



          sudo ufw disable


          ufw has an excellent manual you can access it with man ufw






          share|improve this answer














          As you added the tag ufw i'm guessing you are using the default ubuntu firewall manager ufw and not iptables you can disable the ufw firewall with



          sudo ufw disable


          ufw has an excellent manual you can access it with man ufw







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 28 at 9:50

























          answered Apr 27 at 23:00









          stedotmartin

          6,58612328




          6,58612328











          • Excuse me I edited my question.
            – ParisaN
            Apr 28 at 7:18
















          • Excuse me I edited my question.
            – ParisaN
            Apr 28 at 7:18















          Excuse me I edited my question.
          – ParisaN
          Apr 28 at 7:18




          Excuse me I edited my question.
          – ParisaN
          Apr 28 at 7:18

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1028992%2fiptables-unrecognized-service%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491