Managing the Linux firewall with iptables

When it comes to managing the firewall service within Linux, there are many options, the most popular being iptables and 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 ...

Get Red Hat Enterprise Linux Troubleshooting Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.