Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Security & Privacy

iptables Ruleset Auditor

Paste or drop the output of iptables-save and see what the firewall actually does. The auditor parses tables, chains and rules (including -I, -P, -N, -F and -D command lists), then reports each chain with its policy and verdict mix, every rule that can never match because an earlier rule is unconditional, the ports that are accepted from anywhere, log rules that will flood the journal, deprecated matches, jumps to chains that do not exist, chains nothing can reach, and the fail-open combination of a DROP rule under an ACCEPT policy. Rule grammar is checked the way iptables itself checks it, so the errors it quotes are the same ones iptables would print. Nothing is applied, uploaded or executed.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Drop a file here, or browse

Files stay on your device.

Ctrl+V to paste an image

    Try:

    Text is processed on this device. If a file is selected, the file is used instead.

    Options

    Drop a file above to begin

    Your file are processed on this device and never uploaded.

    How it works

    What the tool reads

    The input is iptables-save output — *table markers, :CHAIN POLICY [packets:bytes] declarations and -A rules — or a plain list of iptables commands including -A, -P, -N, -F and -D. nftables syntax is detected and refused with an explanation rather than misparsed. Input is capped at 8 MB, and an empty or unrecognisable file is rejected before analysis.

    Choosing the output view

    The format option selects the table you get: a ruleset summary, a chain-and-policy listing, a rule inventory, the exposed-port report, or the raw findings list. The analysis underneath is the same whichever you pick, and a note appears once findings exceed the display cap.

    Chain policies and shadowed rules

    Each chain is shown with its policy, rule count and verdict mix, and a chain whose policy is ACCEPT but which ends in DROP rules is flagged as fail-open, because anything falling off the end is accepted. A rule is shadowed when an earlier unconditional DROP or REJECT means it can never match, and the report names the shadowing rule number.

    Exposed ports, and where this runs

    A port is listed as exposed when an ACCEPT rule in INPUT or FORWARD matches it without restricting source address or interface. Ports on your sensitive list — SSH, databases, Redis and friends by default — come first, and a shadowed port is marked when an earlier blanket rule already killed it. Every rule is checked against iptables’ own grammar, so the errors read like iptables’ own. Nothing is executed, applied or uploaded.

    Questions

    Which firewall formats can it read?

    The output of iptables-save (with *table, :CHAIN POLICY [packets:bytes] and -A lines) and a plain list of iptables commands such as -A INPUT -p tcp --dport 22 -j ACCEPT, -P, -N, -F and -D. nftables syntax is recognised and refused with an explanation rather than being misread as iptables, because the two grammars only look alike.

    Where do the error messages come from?

    Every rule is run through the same grammar iptables uses, so a rule that iptables refuses is reported as an error with the message iptables prints — for example unknown option "--dport" when a port is given without -p tcp, or Can't use --out-interface with INPUT. Warnings that need kernel state to confirm, such as a policy name no kernel accepts, are labelled as warnings rather than errors.

    What counts as an exposed port?

    A port is listed as exposed when an ACCEPT rule in an INPUT or FORWARD chain matches it and that rule does not restrict the source address or interface. Ports on your sensitive list are shown first, and a port is marked shadowed when an earlier unconditional DROP or REJECT rule in the same chain means the ACCEPT can never be reached.

    Is anything applied to this machine?

    No. The ruleset is read as text in your browser: nothing is uploaded, no iptables command is run, and no network request is made. The analysis is a static reading of the rules you paste.

    See category