Managing the Linux firewall with iptables
When it comes to managing the firewall service within Linux, there are many options, the most popular being
ufw. For Ubuntu distributions,
ufw is the default firewall management tool; however, overall,
iptables is by far the most popular across multiple Linux distributions. Both of these, however, in themselves, are simply user interfaces to Netfilter.
Netfilter is a framework within the Linux kernel that allows for packet filtering as well as network and port translation. Tools such as the
iptables command are simply interacting with the
netfilter framework to apply these rules.
For this book, we will concentrate on utilizing the
iptables command and service to manage our firewall rules. Not ...