Jé pa l'temps #11 - Iptables
Best practice with the firewall : we block all traffic and authorize what we need and of course, RTFM !
Displaying iptables rules
sudo iptables -L --line-numbers
By default, this command only displays filter table. For displaying others tables, we have to add -t option following by nat, mangle or raw. However, filter table is the only needed table for configuring firewall.
Command options
-A CHAIN : Append a rule on the chain.
Read more →
jplt
adminsys