≡ Menu

HowTo: Flush Iptables Under Ubuntu Linux

How do I flush all IPv4 and IPv6 iptables rules under Ubuntu Linux?

To see your current rules in iptables (IPv4), enter:
$ sudo iptables -L
To see your current rules in ip6tables (IPv6), enter:
$ sudo ip6tables -L

How Do I Disable (flush) IPv4 Firewall?

If you need to disable the firewall, you can flush all the rules using the following command:
$ sudo iptables -F
Create IPv6 Firewall?

If you need to disable the firewall, you can flush all the rules using the following command:
$ sudo ip6tables -F
Create
vicank July 3, 2014, 2:02 pm

Security: Are you a robot or human?

Leave a Comment

You can use these HTML tags and attributes: <strong> <em> <pre> <code> <a href="" title="">


   Tagged with: , , , , , , , , , , , , , , ,