light9
11/13/2013 - 2:00 PM

iptables

iptables

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

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

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