Originally Published: Tuesday, 13 February 2001 Author: Mike Baker
Published to: tuneup_tips/Tips Page: 1/1 - [Printable]

More fun with Netfilter

So, you've just got your fast Cable or DSL connection and now you need a firewall to protect you? No problem.

Your basic firewall will tend to look something like this:
#accept now, deny and log later
iptables -P INPUT ACCEPT

#accept traffic from the lan
iptables -A INPUT -s -j ACCEPT

#take advantage of connection