From f2e08419705d0957c69d15aa4298ae3513c452ef Mon Sep 17 00:00:00 2001 From: billz Date: Fri, 20 Mar 2020 16:11:10 +0000 Subject: [PATCH] Revert "Fix ruleset with iptables + iptables-save" This reverts commit 0218f4beeae927404889f482de5775116aeb3455. --- installers/iptables.rules | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/installers/iptables.rules b/installers/iptables.rules index 6a26d4bb..c39dd4cb 100644 --- a/installers/iptables.rules +++ b/installers/iptables.rules @@ -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]