sironaath: firewall.user

File firewall.user, 498 bytes (added by ramon, 13 years ago)
Line 
1iptables -P INPUT ACCEPT
2iptables -P FORWARD ACCEPT
3iptables -P OUTPUT ACCEPT
4iptables -F INPUT
5iptables -F FORWARD
6iptables -F OUTPUT
7iptables -F input_rule
8iptables -F output_rule
9iptables -F forwarding_rule
10iptables -t nat -F prerouting_rule
11iptables -t nat -F postrouting_rule
12iptables -t nat -F PREROUTING
13iptables -t nat -F POSTROUTING
14iptables -t nat -F OUTPUT
15iptables -F input_wan
16iptables -F forwarding_wan
17iptables -t nat -F prerouting_wan
18
19
20iptables -t nat -A POSTROUTING -j MASQUERADE