I've used ipchains and now iptables to secure my machines connect to the internet. There's been some good points about iptables ( and other subjects, that I'm not an expert on those mathers, this is just about iptables ). For some machines I wrote all the rules, just because I want to add some features that tools that use iptables don't allow.
Anyway there's a tool, that is on portage too that really helps and it's really easy to configure. You can use it to NAT, or just to REJECT or DROP, you may want to give it a look ( also allows multi interface ).
Code: Select all
root @ gandalf $ > emerge -s shorewall
Searching...
[ Results for search key : shorewall ]
[ Applications found : 1 ]
* net-firewall/shorewall
Latest version available: 1.4.4b
Latest version installed: [ Not Installed ]
Size of downloaded files: 1,932 kB
Homepage: http://www.shorewall.net
Description: Full state iptables firewall
You can check it here too
http://shorewall.sourceforge.net
Tó