mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Revert "Fix ruleset with iptables + iptables-save"
This reverts commit 0218f4beea
.
This commit is contained in:
parent
ac4f7be5bb
commit
f2e0841970
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user