One of the first tasks that should be accomplished when deploying a new server (and in reality, any new machine) is setting up a software firewall. On a Linux computer, this is accomplished using iptables. We can use the /sbin/iptables
command to manipulate our firewall, or we can directly edit the /etc/sysconfig/iptables
file. Each has their advantages, and it’s worthwhile to know how each works.
Lets start with the iptables
command. We can first More…