Provided by: shorewall-common_4.0.12-1_all
netmap - Shorewall NETMAP definition file
This file is used to map addresses in one network to corresponding
addresses in a second network.
To use this file, your kernel and iptables must have NETMAP
The columns in the file are as follows.
TYPE — DNAT|SNAT
Must be DNAT or SNAT.
If DNAT, traffic entering INTERFACE and addressed to NET1 has
it’s destination address rewritten to the corresponding address
If SNAT, traffic leaving INTERFACE with a source address in NET1
has it’s source address rewritten to the corresponding address
NET1 — network-address
Network in CIDR format (e.g., 192.168.1.0/24).
INTERFACE — interface
The name of a network interface. The interface must be defined
in shorewall-interfaces 〈shorewall-interfaces.html〉 (5).
Beginnins with Shorewall 4.1.4, a comma-separated list of
interfaces may also be entered in this column.
NET2 — network-address
Network in CIDR format
shorewall(8), shorewall-accounting(5), shorewall-actions(5), shorewall-
blacklist(5), shorewall-hosts(5), shorewall-interfaces(5), shorewall-
ipsec(5), shorewall-maclist(5), shorewall-masq(5), shorewall-nat(5),
shorewall-params(5), shorewall-policy(5), shorewall-providers(5),
shorewall-proxyarp(5), shorewall-route_rules(5), shorewall-
routestopped(5), shorewall-rules(5), shorewall.conf(5), shorewall-
tcclasses(5), shorewall-tcdevices(5), shorewall-tcrules(5), shorewall-
tos(5), shorewall-tunnels(5), shorewall-zones(5)
24 June 2008 shorewall-netmap(5)