Iptables howto

IPTABLES basic commands

List current rules:

# iptables -L -v
Remove all previous rules:
# iptables -F
Don’t disconnect ESTABLISHED connections:
# iptables -A INPUT -m state –state ESTABLISHED,RELATED -j …