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
Post a Comment