mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	Revert "Fix ruleset with iptables + iptables-save"
This reverts commit 0218f4beea.
			
			
This commit is contained in:
		| @@ -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] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user