diff options
author | root <root@rshg047.dnsready.net> | 2011-07-19 23:13:08 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-07-19 23:13:08 +0000 |
commit | 94e3eb45cd3402cbc5efd70ae725e8d48ed696af (patch) | |
tree | 5f43e51e770fce190ea2732d7784460e4a34b351 /testing/iptables/simple_firewall.rules | |
parent | 040215f1ca1d14472525c2562bc33e84f9728d4a (diff) |
Tue Jul 19 23:13:07 UTC 2011
Diffstat (limited to 'testing/iptables/simple_firewall.rules')
-rw-r--r-- | testing/iptables/simple_firewall.rules | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/iptables/simple_firewall.rules b/testing/iptables/simple_firewall.rules new file mode 100644 index 000000000..e1604cc36 --- /dev/null +++ b/testing/iptables/simple_firewall.rules @@ -0,0 +1,11 @@ +*filter +:INPUT DROP [0:0] +:FORWARD DROP [0:0] +:OUTPUT ACCEPT [0:0] +-A INPUT -p icmp -j ACCEPT +-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT +-A INPUT -i lo -j ACCEPT +-A INPUT -p tcp -j REJECT --reject-with tcp-reset +-A INPUT -p udp -j REJECT --reject-with icmp-port-unreachable +-A INPUT -j REJECT --reject-with icmp-proto-unreachable +COMMIT |