# Generated by iptables-save v1.4.2 on Fri Feb 19 15:46:21 2010
*nat
:PREROUTING ACCEPT [14:1710]
:POSTROUTING ACCEPT [1:286]
:OUTPUT ACCEPT [1:286]
COMMIT
# Completed on Fri Feb 19 15:46:21 2010
# Generated by iptables-save v1.4.2 on Fri Feb 19 15:46:21 2010
*mangle
:PREROUTING ACCEPT [34:2495]
:INPUT ACCEPT [34:2495]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [33:4887]
:POSTROUTING ACCEPT [33:4887]
COMMIT
# Completed on Fri Feb 19 15:46:21 2010
# Generated by iptables-save v1.4.2 on Fri Feb 19 15:46:21 2010
*filter
:FORWARD ACCEPT [0:0]
:INPUT DROP [0:0]
:OUTPUT ACCEPT [0:0]
# Accept traffic from internal interfaces
-A INPUT ! -i eth0 -j ACCEPT
# Accept traffic with the ACK flag set
-A INPUT -p tcp -m tcp --tcp-flags ACK ACK -j ACCEPT
# Allow incoming data that is part of a connection we established
-A INPUT -m state --state ESTABLISHED -j ACCEPT
# Allow data that is related to existing connections
-A INPUT -m state --state RELATED -j ACCEPT
# Accept responses to DNS queries
-A INPUT -p udp -m udp --dport 1024:65535 --sport 53 -j ACCEPT
# Accept responses to our pings
-A INPUT -p icmp -m icmp --icmp-type echo-reply -j ACCEPT
# Accept notifications of unreachable hosts
-A INPUT -p icmp -m icmp --icmp-type destination-unreachable -j ACCEPT
# Accept notifications to reduce sending speed
-A INPUT -p icmp -m icmp --icmp-type source-quench -j ACCEPT
# Accept notifications of lost packets
-A INPUT -p icmp -m icmp --icmp-type time-exceeded -j ACCEPT
# Accept notifications of protocol problems
-A INPUT -p icmp -m icmp --icmp-type parameter-problem -j ACCEPT
# webmin
-A INPUT -p tcp -m tcp -m multiport -j ACCEPT --dports 15050,22
# Allow connections to our IDENT server
-A INPUT -p tcp -m tcp --dport auth -j ACCEPT
# Respond to pings
-A INPUT -p icmp -m icmp --icmp-type echo-request -j ACCEPT
# webmin en FTP en web
-A INPUT -p tcp -m tcp -m multiport -j ACCEPT --dports 10000,21,80
# FTP
-A INPUT -p tcp -m tcp --dport 49152:49162 -j ACCEPT
# TEAMSPEAK
-A INPUT -p tcp -m tcp -m multiport -j ACCEPT --dports 9987,9988,10011,30033
# ban test
-A INPUT -s 77.mijn.ip.147 -j DROP
COMMIT
# Completed on Fri Feb 19 15:46:21 2010