IPtables installation question

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





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








3















I have an excellent book called "Linux Firewalls: Attack Detection and Response" by Michael Rash. I have a few questions before I begin.



I want to make an enterprise grade iptables Firewall and was wondering if I will need to do my own kernel compilation like it says in the book or nowadays is it ok to just download the Debian/linux OS server and plainly install Iptables onto it and start configuring?



I was wondering since nftables is a newer improved version of iptables does it go about the same way of installation? (did not find research material on nftables)










share|improve this question






























    3















    I have an excellent book called "Linux Firewalls: Attack Detection and Response" by Michael Rash. I have a few questions before I begin.



    I want to make an enterprise grade iptables Firewall and was wondering if I will need to do my own kernel compilation like it says in the book or nowadays is it ok to just download the Debian/linux OS server and plainly install Iptables onto it and start configuring?



    I was wondering since nftables is a newer improved version of iptables does it go about the same way of installation? (did not find research material on nftables)










    share|improve this question


























      3












      3








      3


      1






      I have an excellent book called "Linux Firewalls: Attack Detection and Response" by Michael Rash. I have a few questions before I begin.



      I want to make an enterprise grade iptables Firewall and was wondering if I will need to do my own kernel compilation like it says in the book or nowadays is it ok to just download the Debian/linux OS server and plainly install Iptables onto it and start configuring?



      I was wondering since nftables is a newer improved version of iptables does it go about the same way of installation? (did not find research material on nftables)










      share|improve this question
















      I have an excellent book called "Linux Firewalls: Attack Detection and Response" by Michael Rash. I have a few questions before I begin.



      I want to make an enterprise grade iptables Firewall and was wondering if I will need to do my own kernel compilation like it says in the book or nowadays is it ok to just download the Debian/linux OS server and plainly install Iptables onto it and start configuring?



      I was wondering since nftables is a newer improved version of iptables does it go about the same way of installation? (did not find research material on nftables)







      linux debian security iptables firewall






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 9 at 9:44









      Rui F Ribeiro

      41.9k1483142




      41.9k1483142










      asked Apr 27 '16 at 18:58









      BeachSamuraiBeachSamurai

      7819




      7819




















          3 Answers
          3






          active

          oldest

          votes


















          3














          As for firewalls, I would be worried where they are placed, your Internet speeds, and how much rules you need on them. They can pretty much dictate the kind of hardware you will need. Be aware for more performance/higher speeds, you may need better NIC cards. In the past, I used top tier Intel Pro cards.



          About router/firewalls in ISP settings, I used to have at the ISP I was running, a Linux router with IPtables for firewalling/accounting. In time, I replaced it with a Cisco ISP grade router, created access lists to block the few ports I needed to cut (mostly Windows default ports, SQLSERVER and not much more) and started sending netflow to a Linux server to do the customers data accounting when our capacity started growing.



          Beware that if you are a cable plant outfit, layer 2/3 firewall rules can de added to the DOCSIS modem configurations. You can save a significant upstream bandwidth that way.



          As for an open source firewall, I do recommend pfSense. I used it in the past to protect the corporate network of the ISP, and nowadays using them to provide native client VPNs to OS/X, Linux and Windows 7-10. They also support full fail-over, where if the master fails, the slave maintains the state of the connections over time, and pick ups everything. pfSense runs on top of FreeBSD, and has a graphical management interface that is very flexible.



          https://www.pfsense.org



          Concerning iptables/VPN in Linux, I am using a Debian also as a firewall and VPN (with strongswan) to secure a special network, and it is not necessary to mess with kernel compilations.



          As for layer-7 traffic shapping, we tried to do it for a while with Linux, but it was not very efficient, and it was a time-consuming process. We ended up going for a NetEnforcer traffic shapper.






          share|improve this answer




















          • 1





            Thanks for the answer, I installed pfsense and liked the interface.

            – BeachSamurai
            Apr 28 '16 at 14:18











          • You are welcome. I have seen you related posts in the networking engineering group, and it would have helped in this thread to know you are talking about 3k clients. For that volume, taking care of an ISP is still a walk in the park for a seasoned professional.

            – Rui F Ribeiro
            Apr 28 '16 at 20:44



















          2














          nftables are currently under development to replace iptables, and while they don't say as much, I would consider it "beta" for now. I don't have any insight into their timeline, but you can read more here:
          http://netfilter.org/projects/nftables/



          Many linux distributions already have iptables enabled by default. Either it's compiled in, or they load the module on boot (most common). The easiest way to tell would be to run:



          lsmod | grep ip_tables


          You should see a line that says ip_tables if the module is loaded. You can also try:



          iptables -L


          to see if you get anything back. Most boxes by default will have empty "chains" which basically means allow everything (default to allow is configured by default).






          share|improve this answer























          • "nftables are currently under development to replace iptables, and while they don't say as much, I would consider it "beta" for now." Thanks for this I was thought this was true.

            – BeachSamurai
            Apr 28 '16 at 4:59


















          1














          I'd use shorewall in preference to writing iptables rules directly. There are also alternatives such as firewalld.



          With regard to kernel compilation it really depends whether or not the features that you need are available either in the stock kernel or as a modular add-in. If they are not, then you're going to need to roll your own. However, that's not really very enterprisey as it means more work each time there's a kernel package upgrade.



          In the comments you asked about ISP grade packet filtering. I think that you would be best using the ipset extension to iptables for this sort of work. In terms of protection, it allows you to build sets of thousands (if not tens of thousands) of similar rules that can run without significantly slowing the traffic flowing through your rulesets.



          I assume you'd also be looking at full scale IDS/IPS.






          share|improve this answer

























          • Hi, thanks for the answer, and would you recommend Shorewall and firewalld as firewalls for an ISP? normally just to prevent hackers from attacking clients and from clients causing troubles on our network. Thanks.

            – BeachSamurai
            Apr 27 '16 at 19:14






          • 1





            @BeachSamurai I understand the need/feasibility of protecting your corporate/control network. care must e taken when firewalling the customer´s network. Until what point do you need to firewall them? Just a couple of ports, or do you have something else in mind?

            – Rui F Ribeiro
            Apr 27 '16 at 19:32











          • @Roaima yes i will also need a IDS/IPS and thought of snort. Let me google about ipset and get back to you.

            – BeachSamurai
            Apr 27 '16 at 23:10











          • @Ribeiro There are some ports I will need to provide security too.

            – BeachSamurai
            Apr 27 '16 at 23:12











          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%2f279573%2fiptables-installation-question%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          3 Answers
          3






          active

          oldest

          votes








          3 Answers
          3






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          3














          As for firewalls, I would be worried where they are placed, your Internet speeds, and how much rules you need on them. They can pretty much dictate the kind of hardware you will need. Be aware for more performance/higher speeds, you may need better NIC cards. In the past, I used top tier Intel Pro cards.



          About router/firewalls in ISP settings, I used to have at the ISP I was running, a Linux router with IPtables for firewalling/accounting. In time, I replaced it with a Cisco ISP grade router, created access lists to block the few ports I needed to cut (mostly Windows default ports, SQLSERVER and not much more) and started sending netflow to a Linux server to do the customers data accounting when our capacity started growing.



          Beware that if you are a cable plant outfit, layer 2/3 firewall rules can de added to the DOCSIS modem configurations. You can save a significant upstream bandwidth that way.



          As for an open source firewall, I do recommend pfSense. I used it in the past to protect the corporate network of the ISP, and nowadays using them to provide native client VPNs to OS/X, Linux and Windows 7-10. They also support full fail-over, where if the master fails, the slave maintains the state of the connections over time, and pick ups everything. pfSense runs on top of FreeBSD, and has a graphical management interface that is very flexible.



          https://www.pfsense.org



          Concerning iptables/VPN in Linux, I am using a Debian also as a firewall and VPN (with strongswan) to secure a special network, and it is not necessary to mess with kernel compilations.



          As for layer-7 traffic shapping, we tried to do it for a while with Linux, but it was not very efficient, and it was a time-consuming process. We ended up going for a NetEnforcer traffic shapper.






          share|improve this answer




















          • 1





            Thanks for the answer, I installed pfsense and liked the interface.

            – BeachSamurai
            Apr 28 '16 at 14:18











          • You are welcome. I have seen you related posts in the networking engineering group, and it would have helped in this thread to know you are talking about 3k clients. For that volume, taking care of an ISP is still a walk in the park for a seasoned professional.

            – Rui F Ribeiro
            Apr 28 '16 at 20:44
















          3














          As for firewalls, I would be worried where they are placed, your Internet speeds, and how much rules you need on them. They can pretty much dictate the kind of hardware you will need. Be aware for more performance/higher speeds, you may need better NIC cards. In the past, I used top tier Intel Pro cards.



          About router/firewalls in ISP settings, I used to have at the ISP I was running, a Linux router with IPtables for firewalling/accounting. In time, I replaced it with a Cisco ISP grade router, created access lists to block the few ports I needed to cut (mostly Windows default ports, SQLSERVER and not much more) and started sending netflow to a Linux server to do the customers data accounting when our capacity started growing.



          Beware that if you are a cable plant outfit, layer 2/3 firewall rules can de added to the DOCSIS modem configurations. You can save a significant upstream bandwidth that way.



          As for an open source firewall, I do recommend pfSense. I used it in the past to protect the corporate network of the ISP, and nowadays using them to provide native client VPNs to OS/X, Linux and Windows 7-10. They also support full fail-over, where if the master fails, the slave maintains the state of the connections over time, and pick ups everything. pfSense runs on top of FreeBSD, and has a graphical management interface that is very flexible.



          https://www.pfsense.org



          Concerning iptables/VPN in Linux, I am using a Debian also as a firewall and VPN (with strongswan) to secure a special network, and it is not necessary to mess with kernel compilations.



          As for layer-7 traffic shapping, we tried to do it for a while with Linux, but it was not very efficient, and it was a time-consuming process. We ended up going for a NetEnforcer traffic shapper.






          share|improve this answer




















          • 1





            Thanks for the answer, I installed pfsense and liked the interface.

            – BeachSamurai
            Apr 28 '16 at 14:18











          • You are welcome. I have seen you related posts in the networking engineering group, and it would have helped in this thread to know you are talking about 3k clients. For that volume, taking care of an ISP is still a walk in the park for a seasoned professional.

            – Rui F Ribeiro
            Apr 28 '16 at 20:44














          3












          3








          3







          As for firewalls, I would be worried where they are placed, your Internet speeds, and how much rules you need on them. They can pretty much dictate the kind of hardware you will need. Be aware for more performance/higher speeds, you may need better NIC cards. In the past, I used top tier Intel Pro cards.



          About router/firewalls in ISP settings, I used to have at the ISP I was running, a Linux router with IPtables for firewalling/accounting. In time, I replaced it with a Cisco ISP grade router, created access lists to block the few ports I needed to cut (mostly Windows default ports, SQLSERVER and not much more) and started sending netflow to a Linux server to do the customers data accounting when our capacity started growing.



          Beware that if you are a cable plant outfit, layer 2/3 firewall rules can de added to the DOCSIS modem configurations. You can save a significant upstream bandwidth that way.



          As for an open source firewall, I do recommend pfSense. I used it in the past to protect the corporate network of the ISP, and nowadays using them to provide native client VPNs to OS/X, Linux and Windows 7-10. They also support full fail-over, where if the master fails, the slave maintains the state of the connections over time, and pick ups everything. pfSense runs on top of FreeBSD, and has a graphical management interface that is very flexible.



          https://www.pfsense.org



          Concerning iptables/VPN in Linux, I am using a Debian also as a firewall and VPN (with strongswan) to secure a special network, and it is not necessary to mess with kernel compilations.



          As for layer-7 traffic shapping, we tried to do it for a while with Linux, but it was not very efficient, and it was a time-consuming process. We ended up going for a NetEnforcer traffic shapper.






          share|improve this answer















          As for firewalls, I would be worried where they are placed, your Internet speeds, and how much rules you need on them. They can pretty much dictate the kind of hardware you will need. Be aware for more performance/higher speeds, you may need better NIC cards. In the past, I used top tier Intel Pro cards.



          About router/firewalls in ISP settings, I used to have at the ISP I was running, a Linux router with IPtables for firewalling/accounting. In time, I replaced it with a Cisco ISP grade router, created access lists to block the few ports I needed to cut (mostly Windows default ports, SQLSERVER and not much more) and started sending netflow to a Linux server to do the customers data accounting when our capacity started growing.



          Beware that if you are a cable plant outfit, layer 2/3 firewall rules can de added to the DOCSIS modem configurations. You can save a significant upstream bandwidth that way.



          As for an open source firewall, I do recommend pfSense. I used it in the past to protect the corporate network of the ISP, and nowadays using them to provide native client VPNs to OS/X, Linux and Windows 7-10. They also support full fail-over, where if the master fails, the slave maintains the state of the connections over time, and pick ups everything. pfSense runs on top of FreeBSD, and has a graphical management interface that is very flexible.



          https://www.pfsense.org



          Concerning iptables/VPN in Linux, I am using a Debian also as a firewall and VPN (with strongswan) to secure a special network, and it is not necessary to mess with kernel compilations.



          As for layer-7 traffic shapping, we tried to do it for a while with Linux, but it was not very efficient, and it was a time-consuming process. We ended up going for a NetEnforcer traffic shapper.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 9 at 15:43

























          answered Apr 28 '16 at 11:02









          Rui F RibeiroRui F Ribeiro

          41.9k1483142




          41.9k1483142







          • 1





            Thanks for the answer, I installed pfsense and liked the interface.

            – BeachSamurai
            Apr 28 '16 at 14:18











          • You are welcome. I have seen you related posts in the networking engineering group, and it would have helped in this thread to know you are talking about 3k clients. For that volume, taking care of an ISP is still a walk in the park for a seasoned professional.

            – Rui F Ribeiro
            Apr 28 '16 at 20:44













          • 1





            Thanks for the answer, I installed pfsense and liked the interface.

            – BeachSamurai
            Apr 28 '16 at 14:18











          • You are welcome. I have seen you related posts in the networking engineering group, and it would have helped in this thread to know you are talking about 3k clients. For that volume, taking care of an ISP is still a walk in the park for a seasoned professional.

            – Rui F Ribeiro
            Apr 28 '16 at 20:44








          1




          1





          Thanks for the answer, I installed pfsense and liked the interface.

          – BeachSamurai
          Apr 28 '16 at 14:18





          Thanks for the answer, I installed pfsense and liked the interface.

          – BeachSamurai
          Apr 28 '16 at 14:18













          You are welcome. I have seen you related posts in the networking engineering group, and it would have helped in this thread to know you are talking about 3k clients. For that volume, taking care of an ISP is still a walk in the park for a seasoned professional.

          – Rui F Ribeiro
          Apr 28 '16 at 20:44






          You are welcome. I have seen you related posts in the networking engineering group, and it would have helped in this thread to know you are talking about 3k clients. For that volume, taking care of an ISP is still a walk in the park for a seasoned professional.

          – Rui F Ribeiro
          Apr 28 '16 at 20:44














          2














          nftables are currently under development to replace iptables, and while they don't say as much, I would consider it "beta" for now. I don't have any insight into their timeline, but you can read more here:
          http://netfilter.org/projects/nftables/



          Many linux distributions already have iptables enabled by default. Either it's compiled in, or they load the module on boot (most common). The easiest way to tell would be to run:



          lsmod | grep ip_tables


          You should see a line that says ip_tables if the module is loaded. You can also try:



          iptables -L


          to see if you get anything back. Most boxes by default will have empty "chains" which basically means allow everything (default to allow is configured by default).






          share|improve this answer























          • "nftables are currently under development to replace iptables, and while they don't say as much, I would consider it "beta" for now." Thanks for this I was thought this was true.

            – BeachSamurai
            Apr 28 '16 at 4:59















          2














          nftables are currently under development to replace iptables, and while they don't say as much, I would consider it "beta" for now. I don't have any insight into their timeline, but you can read more here:
          http://netfilter.org/projects/nftables/



          Many linux distributions already have iptables enabled by default. Either it's compiled in, or they load the module on boot (most common). The easiest way to tell would be to run:



          lsmod | grep ip_tables


          You should see a line that says ip_tables if the module is loaded. You can also try:



          iptables -L


          to see if you get anything back. Most boxes by default will have empty "chains" which basically means allow everything (default to allow is configured by default).






          share|improve this answer























          • "nftables are currently under development to replace iptables, and while they don't say as much, I would consider it "beta" for now." Thanks for this I was thought this was true.

            – BeachSamurai
            Apr 28 '16 at 4:59













          2












          2








          2







          nftables are currently under development to replace iptables, and while they don't say as much, I would consider it "beta" for now. I don't have any insight into their timeline, but you can read more here:
          http://netfilter.org/projects/nftables/



          Many linux distributions already have iptables enabled by default. Either it's compiled in, or they load the module on boot (most common). The easiest way to tell would be to run:



          lsmod | grep ip_tables


          You should see a line that says ip_tables if the module is loaded. You can also try:



          iptables -L


          to see if you get anything back. Most boxes by default will have empty "chains" which basically means allow everything (default to allow is configured by default).






          share|improve this answer













          nftables are currently under development to replace iptables, and while they don't say as much, I would consider it "beta" for now. I don't have any insight into their timeline, but you can read more here:
          http://netfilter.org/projects/nftables/



          Many linux distributions already have iptables enabled by default. Either it's compiled in, or they load the module on boot (most common). The easiest way to tell would be to run:



          lsmod | grep ip_tables


          You should see a line that says ip_tables if the module is loaded. You can also try:



          iptables -L


          to see if you get anything back. Most boxes by default will have empty "chains" which basically means allow everything (default to allow is configured by default).







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 27 '16 at 21:49









          e2fscke2fsck

          212




          212












          • "nftables are currently under development to replace iptables, and while they don't say as much, I would consider it "beta" for now." Thanks for this I was thought this was true.

            – BeachSamurai
            Apr 28 '16 at 4:59

















          • "nftables are currently under development to replace iptables, and while they don't say as much, I would consider it "beta" for now." Thanks for this I was thought this was true.

            – BeachSamurai
            Apr 28 '16 at 4:59
















          "nftables are currently under development to replace iptables, and while they don't say as much, I would consider it "beta" for now." Thanks for this I was thought this was true.

          – BeachSamurai
          Apr 28 '16 at 4:59





          "nftables are currently under development to replace iptables, and while they don't say as much, I would consider it "beta" for now." Thanks for this I was thought this was true.

          – BeachSamurai
          Apr 28 '16 at 4:59











          1














          I'd use shorewall in preference to writing iptables rules directly. There are also alternatives such as firewalld.



          With regard to kernel compilation it really depends whether or not the features that you need are available either in the stock kernel or as a modular add-in. If they are not, then you're going to need to roll your own. However, that's not really very enterprisey as it means more work each time there's a kernel package upgrade.



          In the comments you asked about ISP grade packet filtering. I think that you would be best using the ipset extension to iptables for this sort of work. In terms of protection, it allows you to build sets of thousands (if not tens of thousands) of similar rules that can run without significantly slowing the traffic flowing through your rulesets.



          I assume you'd also be looking at full scale IDS/IPS.






          share|improve this answer

























          • Hi, thanks for the answer, and would you recommend Shorewall and firewalld as firewalls for an ISP? normally just to prevent hackers from attacking clients and from clients causing troubles on our network. Thanks.

            – BeachSamurai
            Apr 27 '16 at 19:14






          • 1





            @BeachSamurai I understand the need/feasibility of protecting your corporate/control network. care must e taken when firewalling the customer´s network. Until what point do you need to firewall them? Just a couple of ports, or do you have something else in mind?

            – Rui F Ribeiro
            Apr 27 '16 at 19:32











          • @Roaima yes i will also need a IDS/IPS and thought of snort. Let me google about ipset and get back to you.

            – BeachSamurai
            Apr 27 '16 at 23:10











          • @Ribeiro There are some ports I will need to provide security too.

            – BeachSamurai
            Apr 27 '16 at 23:12















          1














          I'd use shorewall in preference to writing iptables rules directly. There are also alternatives such as firewalld.



          With regard to kernel compilation it really depends whether or not the features that you need are available either in the stock kernel or as a modular add-in. If they are not, then you're going to need to roll your own. However, that's not really very enterprisey as it means more work each time there's a kernel package upgrade.



          In the comments you asked about ISP grade packet filtering. I think that you would be best using the ipset extension to iptables for this sort of work. In terms of protection, it allows you to build sets of thousands (if not tens of thousands) of similar rules that can run without significantly slowing the traffic flowing through your rulesets.



          I assume you'd also be looking at full scale IDS/IPS.






          share|improve this answer

























          • Hi, thanks for the answer, and would you recommend Shorewall and firewalld as firewalls for an ISP? normally just to prevent hackers from attacking clients and from clients causing troubles on our network. Thanks.

            – BeachSamurai
            Apr 27 '16 at 19:14






          • 1





            @BeachSamurai I understand the need/feasibility of protecting your corporate/control network. care must e taken when firewalling the customer´s network. Until what point do you need to firewall them? Just a couple of ports, or do you have something else in mind?

            – Rui F Ribeiro
            Apr 27 '16 at 19:32











          • @Roaima yes i will also need a IDS/IPS and thought of snort. Let me google about ipset and get back to you.

            – BeachSamurai
            Apr 27 '16 at 23:10











          • @Ribeiro There are some ports I will need to provide security too.

            – BeachSamurai
            Apr 27 '16 at 23:12













          1












          1








          1







          I'd use shorewall in preference to writing iptables rules directly. There are also alternatives such as firewalld.



          With regard to kernel compilation it really depends whether or not the features that you need are available either in the stock kernel or as a modular add-in. If they are not, then you're going to need to roll your own. However, that's not really very enterprisey as it means more work each time there's a kernel package upgrade.



          In the comments you asked about ISP grade packet filtering. I think that you would be best using the ipset extension to iptables for this sort of work. In terms of protection, it allows you to build sets of thousands (if not tens of thousands) of similar rules that can run without significantly slowing the traffic flowing through your rulesets.



          I assume you'd also be looking at full scale IDS/IPS.






          share|improve this answer















          I'd use shorewall in preference to writing iptables rules directly. There are also alternatives such as firewalld.



          With regard to kernel compilation it really depends whether or not the features that you need are available either in the stock kernel or as a modular add-in. If they are not, then you're going to need to roll your own. However, that's not really very enterprisey as it means more work each time there's a kernel package upgrade.



          In the comments you asked about ISP grade packet filtering. I think that you would be best using the ipset extension to iptables for this sort of work. In terms of protection, it allows you to build sets of thousands (if not tens of thousands) of similar rules that can run without significantly slowing the traffic flowing through your rulesets.



          I assume you'd also be looking at full scale IDS/IPS.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 27 '16 at 23:03

























          answered Apr 27 '16 at 19:10









          roaimaroaima

          46k758124




          46k758124












          • Hi, thanks for the answer, and would you recommend Shorewall and firewalld as firewalls for an ISP? normally just to prevent hackers from attacking clients and from clients causing troubles on our network. Thanks.

            – BeachSamurai
            Apr 27 '16 at 19:14






          • 1





            @BeachSamurai I understand the need/feasibility of protecting your corporate/control network. care must e taken when firewalling the customer´s network. Until what point do you need to firewall them? Just a couple of ports, or do you have something else in mind?

            – Rui F Ribeiro
            Apr 27 '16 at 19:32











          • @Roaima yes i will also need a IDS/IPS and thought of snort. Let me google about ipset and get back to you.

            – BeachSamurai
            Apr 27 '16 at 23:10











          • @Ribeiro There are some ports I will need to provide security too.

            – BeachSamurai
            Apr 27 '16 at 23:12

















          • Hi, thanks for the answer, and would you recommend Shorewall and firewalld as firewalls for an ISP? normally just to prevent hackers from attacking clients and from clients causing troubles on our network. Thanks.

            – BeachSamurai
            Apr 27 '16 at 19:14






          • 1





            @BeachSamurai I understand the need/feasibility of protecting your corporate/control network. care must e taken when firewalling the customer´s network. Until what point do you need to firewall them? Just a couple of ports, or do you have something else in mind?

            – Rui F Ribeiro
            Apr 27 '16 at 19:32











          • @Roaima yes i will also need a IDS/IPS and thought of snort. Let me google about ipset and get back to you.

            – BeachSamurai
            Apr 27 '16 at 23:10











          • @Ribeiro There are some ports I will need to provide security too.

            – BeachSamurai
            Apr 27 '16 at 23:12
















          Hi, thanks for the answer, and would you recommend Shorewall and firewalld as firewalls for an ISP? normally just to prevent hackers from attacking clients and from clients causing troubles on our network. Thanks.

          – BeachSamurai
          Apr 27 '16 at 19:14





          Hi, thanks for the answer, and would you recommend Shorewall and firewalld as firewalls for an ISP? normally just to prevent hackers from attacking clients and from clients causing troubles on our network. Thanks.

          – BeachSamurai
          Apr 27 '16 at 19:14




          1




          1





          @BeachSamurai I understand the need/feasibility of protecting your corporate/control network. care must e taken when firewalling the customer´s network. Until what point do you need to firewall them? Just a couple of ports, or do you have something else in mind?

          – Rui F Ribeiro
          Apr 27 '16 at 19:32





          @BeachSamurai I understand the need/feasibility of protecting your corporate/control network. care must e taken when firewalling the customer´s network. Until what point do you need to firewall them? Just a couple of ports, or do you have something else in mind?

          – Rui F Ribeiro
          Apr 27 '16 at 19:32













          @Roaima yes i will also need a IDS/IPS and thought of snort. Let me google about ipset and get back to you.

          – BeachSamurai
          Apr 27 '16 at 23:10





          @Roaima yes i will also need a IDS/IPS and thought of snort. Let me google about ipset and get back to you.

          – BeachSamurai
          Apr 27 '16 at 23:10













          @Ribeiro There are some ports I will need to provide security too.

          – BeachSamurai
          Apr 27 '16 at 23:12





          @Ribeiro There are some ports I will need to provide security too.

          – BeachSamurai
          Apr 27 '16 at 23:12

















          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%2f279573%2fiptables-installation-question%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

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)