diff options
Diffstat (limited to 'abs/core-testing/iptables/simple_firewall.rules')
-rw-r--r-- | abs/core-testing/iptables/simple_firewall.rules | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/core-testing/iptables/simple_firewall.rules b/abs/core-testing/iptables/simple_firewall.rules new file mode 100644 index 0000000..e1604cc --- /dev/null +++ b/abs/core-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 |