The Geek Stuff posted 25 most frequently used Linux IPTables rules examples
At a first glance, IPTables rules might look cryptic.25 Most Frequently Used Linux IPTables Rules Examples
In this article, I’ve given 25 practical IPTables rules that you can copy/paste and use it for your needs.
These examples will act as a basic templates for you to tweak these rules to suite your specific requirement.
For easy reference, all these 25 iptables rules are in shell script format: iptables-rules