Here's an introduction to netfilter/iptables: http://securityportal.com/cover/coverstory20010122.html Here's the 'netfilter' home page: http://netfilter.kernelnotes.org/ Here is a tutorial for building a netfilter firewall. http://securityportal.com/articles/netfilter20010219.html