iptables

"sudo iptables -F" <--that will flush iptables
"sudo iptables -Z" <--that will zero it (i think... you should check just in case)

No need to uninstall ufw, just give it a:
"sudo ufw disable" 
it should output "ufw: disabled on system startup"



backup: 
iptables-save > /root/working.iptables.rules

resotre:
iptables-restore < /root/working.iptables.rules

评论

热门帖子