An In-Depth Guide to iptables, the Linux Firewall

This is a great guide to iptables:

An In-Depth Guide to iptables, the Linux Firewall

The Beginner’s Guide to iptables, the Linux Firewall

https://www.howtogeek.com/177621/the-beginners-guide-to-iptables-the-linux-firewall/