iptables Rule Generator

Network Client-side iptables firewall linux rules netfilter security ports

This tool runs entirely client-side, in your browser: your data is never sent anywhere.

What it does

Generates ready-to-use iptables command-line rules from a simple form, so you don't have to remember flag order, chain names, or match syntax every time you need to open a port, block an IP, or set up basic NAT. Everything happens in your browser — nothing is sent anywhere.

Try it

How it works

The tool assembles the equivalent of: iptables -A [-i ] [-o ] -p [-s ] [-d ] [--dport ] [-m conntrack --ctstate ] [-m comment --comment ""] -j

only including each flag if you actually filled in that field, in the correct order iptables expects. It never executes anything — it just builds the text of the command for you to copy and run yourself (as root) on the target machine.

Notes