iptables helper: sanewall-iptables

5
sanewall-iptables

sanewall-iptables

include custom iptables commands

        iptables
        argument

## Description

The `iptables` helper command passes all of its arguments to the real `iptables(8)` at the appropriate point during run-time.

When used in an `interface` or `router`, the result will not have a direct relationship to the enclosing definition as the parameters passed are only those you supply.

You should not use `/sbin/iptables` directly in a Sanewall configuration as it will run before Sanewall activates its firewall. This means they it be applied to the running firewall, not the new firewall, so will be removed when the new firewall is activated.

The `iptables` helper is provided to allow you to hook in commands safely.

## See Also

- sanewall
- sanewall.conf
- administration tool for IPv4 firewalls: iptables(8)