How to clear Iptables and be more open to the world

Submitted by ricardo on Tue, 06/25/2013 - 17:54

So... you want to embrace network "fun" and open all ports to outsiders?
Here you are:
iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT

Good luck!
Just be sure of what you are doing...

Powered by Drupal