catalancho
10/25/2018 - 8:31 PM

Resetear reglas de iptables

Set the default policy on the iptables to ACCEPT:

iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
Then flush the rules:

iptables -F INPUT
iptables -F OUTPUT
iptables -F FORWARD
Note, this will not affect alternate tables, NAT tables, PRE/POST routing tables, etc.