Revert "Fix ruleset with iptables + iptables-save"

This reverts commit 0218f4beea.
This commit is contained in:
billz 2020-03-20 16:11:10 +00:00
parent ac4f7be5bb
commit f2e0841970
1 changed files with 0 additions and 20 deletions

View File

@ -1,24 +1,4 @@
# RaspAP iptables rules
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT DROP [0:0]
# loopback
-A INPUT -i lo -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
-A INPUT -d 127.0.0.1 -j ACCEPT
-A OUTPUT -s 127.0.0.1 -j ACCEPT
# ACCEPT already ESTABLISHED connections
-A INPUT -p ALL -i eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT
# ACCEPT all OUTPUT
-A OUTPUT -p ALL -o eth0 -j ACCEPT
# SSH
-A INPUT -p tcp -i eth0 --dport 22 -m state --state NEW -j ACCEPT
*nat
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]