Interviews2 answers
How do you list and flush all IP tables in Linux?
2 Answers
https://www.digitalocean.com/community/tutorials/how-to-list-and-delete-iptables-firewall-rules
Munesh SharmaPosted May 4, 2016, 9:33 AM EDT
If u wish to see what rules are in iptables -
# iptables --list
If u wish to flush the rules of iptables -
# iptables -flush
OR
# iptables -F
And don't forget to save the rules of iptables after changes
# iptables save
Saurabh SharmaPosted Dec 18, 2014, 2:33 AM EST


