From 530e6e88786befa5d1bcd569e480f1b9fec5b102 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 20 Jun 2012 00:01:41 +0000 Subject: Wed Jun 20 00:01:41 UTC 2012 --- testing/iptables/simple_firewall.rules | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 testing/iptables/simple_firewall.rules (limited to 'testing/iptables/simple_firewall.rules') 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 -- cgit v1.2.3-54-g00ecf