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

download - Firefox cannot save files (most of the time), how to solve? - Super User

software installation - How to install linux driver for a lb-link wireless usb adapter - Ask Ubuntu

permissions - Mount is denied because the NTFS volume is already exclusively opened - Ask Ubuntu