diff options
author | root <root@rshg054.dnsready.net> | 2011-11-03 23:14:47 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-03 23:14:47 +0000 |
commit | b625511a28fd8401f524474b5339e75328595150 (patch) | |
tree | 1daf0e94a58707bedb1a8ef5c3e98ce2cc9d7fa2 /testing/iptables/simple_firewall.rules | |
parent | 6c10ff06abb7ca3a4db4c73624f73aafdd3b2e63 (diff) |
Thu Nov 3 23:14:47 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 |