iptables - Finding the IP Table settings - Ask Ubuntu


following recommendations basicsecurity manual, enabled ufw firewall (sudo ufw enable) "without further tweaks." i'd know default ip table settings like, don't know how find them.

you can list iptables rule settings -l (--list) option of iptables:

sudo iptables -l 

for more verbosity, add -v:

sudo iptables -vl 

for not name resolution (only numeric output), add -n:

sudo iptables -nvl 

note that, default list filter table entries, other tables need explicitly mention table type using -t (--table) option, e.g. nat table:

sudo iptables -t nat -nvl 

also check man iptables more idea.


Comments

Popular posts from this blog

Windows XP installation, no previous version of Windows NT - Super User

crash - Windows Rundll32 (child process of DllHost) is crashing. How can I even identify it? - Super User

networking - Slave steals IP meant for bonded interface - Ask Ubuntu