Using a firewall is as much about making intelligent policy decisions as it is about learning the syntax. This community tutorial covers decisions you must make when implementing a firewall. These choices affect how your firewall behaves, how locked down your server is, and how it will respond to various common situations. This tutorial uses iptables as an example, but the decisions are relevant regardless of the tools used.
digitalocean.com/community