著者: Joel Roth
日付:
To: dng
題目: Re: [DNG] How to turn off the firewall
Hi Steve,
I use this to remove all rules:
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -t nat -F
iptables -t mangle -F
iptables -F
iptables -X
I can't speak for the provenance, but afterwards
iptables -n -L, shows ACCEPT for INPUT, OUTPUT and FORWARD,
with no other rules.
--
Joel Roth