Is Shorewall better than IPTables? (Even though it uses IP Tables)
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Is Shorewall better than IPTables? (Even though it uses IP Tables)
I know very little about network security. I am currently using Shorewall firewall. I am thinking about switching to just using iptables because it seems more simple and there is more documentation/tutorials on it. But I am scared I would loose extra security that Shorewall offers. Does Shorewall offer any extra security over IPtables?
It's about how you use it rather than what it is. Look at the rulebase that shorewall implements and you'll see there are a lot of best practise rules for DOS and such that are there. You don't have to use them, you are free to use iptables however you want, but you gain a layer of best practise usage that you might otherwise not know about and therefore be vulnerable. If you DO know about it (or maybe just blindy copy from elsewhere) then you will be just as secure. Of coutrse, that's only for the netfilter side of shorewall which does other things besides.
Well, my desktop is behind a router with a firewall(Asus rt-n12 with dd-wrt). I feel that I'm not really learning anything by using shorewall. If I used IPtables to learn more, could I afford to loose the protection from using IP tables with bad practice rules(since I will be learning and experimenting) with the router firewall protection? Or am I taking a risk at allowing my system to be exploited?
It depends whether you want to live in a theoretical or real life world. I'd say you're fine to mess around given your on a LAN already. Unless you're using a "DMZ host" feature on the router or similar, I'd not be too fussed. I'd probably suggest you start by looking at the current shorewall rulebase, work out why each line exists and go from there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.