---

Linux flush or remove all iptables firewall rules

In this quick post, we will see how to list and delete all iptables firewall rules using the command line. I also have a small script that does this. Debian or Ubuntu GNU/Linux does not comes with any SYS V init script (located in /etc/init.d directory). You create a script as follows and use it to stop or flush the iptables rules.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis