Manpages

NAME

ipmasq − set up IP Masquerading

SYNOPSIS

ipmasq [-dbngrhv]

DESCRIPTION

This manual page very briefly documents the ipmasq command.

ipmasq sets up IP Masquerading firewall rules using the ipfwadm, ipchains or iptables command, depending on the kernel version.

ipmasq understands the following options:
-v
, --verbose

Display the ipfwadm(8) or ipchains(8) commands that will be run.

-n, --no-act

Do not change any firewall rules.

-d, --display

Shorthand for --verbose --no-act

-g, --debug

Display the names of the rules files as they are being executed.

-r

rules-dir, --rules rules-dir Use the rules files found in rules-dir instead of /etc/ipmasq/rules

-V, --version

Print the version of the ipmasq package to the standard output and exit.

-h, --help

Print a help message to the standard output and exit.

CAVEATS

ipmasq "takes over" the firewall rules table. To add firewall rules such that they will survive a refresh of the rules table, add them a file in the /etc/ipmasq/rules directory with a .rul extension. See ipmasq-rule(5).

FILES

/etc/ipmasq/rules/*.{rul,def}

Rules files. See ipmasq-rule(5).

/etc/ipmasq/ppp

Empty file, which if present, gives ipmasq permission to automatically refresh the rules table automatically when pppd brings a link up or down.

/etc/ipmasq.rules

Deprecated. Additional rules to apply after the default rules. Deprecated. Use a .rul file in /etc/ipmasq/rules instead.

SEE ALSO

ipmasq-kmod(8), ipfwadm(8), ipchains(8), ipofif(8), nmofif(8), peerofif(8), default-if(8), enumerate-if(8), ipmasq-rule(5)

AUTHOR

This manual page was written by Brian Bassett <brianb [AT] debian.org>, for the Debian GNU/Linux system (but may be used by others).