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

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User