1shorewall-netmap(5)                                        shorewall-netmap(5)
2
3
4

NAME

6       netmap - Shorewall NETMAP definition file
7

SYNOPSIS

9       /etc/shorewall/netmap
10

DESCRIPTION

12       This  file is used to map addresses in one network to corresponding ad‐
13       dresses in a second network.
14              Warning
15
16              To use this file, your kernel and iptables must have NETMAP sup‐
17              port included.
18
19       The columns in the file are as follows.
20
21       TYPE DNAT|SNAT
22              Must be DNAT or SNAT.
23
24              If  DNAT,  traffic  entering INTERFACE and addressed to NET1 has
25              it's destination address rewritten to the corresponding  address
26              in NET2.
27
28              If SNAT, traffic leaving INTERFACE with a source address in NET1
29              has it's source address rewritten to the  corresponding  address
30              in NET2.
31
32       NET1 network-address
33              Network in CIDR format (e.g., 192.168.1.0/24).
34
35       INTERFACE interface
36              The  name  of a network interface. The interface must be defined
37              in shorewall-interfaces ⟨shorewall-interfaces.html⟩ (5).  Begin‐
38              nins  with Shorewall 4.1.4, a comma-separated list of interfaces
39              may also be entered in this column.
40
41       NET2 network-address
42              Network in CIDR format
43

FILES

45       /etc/shorewall/netmap
46

SEE ALSO

48http://shorewall.net/netmap.html
49
50       shorewall(8), shorewall-accounting(5), shorewall-actions(5), shorewall-
51       blacklist(5),  shorewall-hosts(5),  shorewall-interfaces(5), shorewall-
52       ipsec(5),  shorewall-maclist(5),  shorewall-masq(5),  shorewall-nat(5),
53       shorewall-params(5),    shorewall-policy(5),    shorewall-providers(5),
54       shorewall-proxyarp(5),       shorewall-route_rules(5),       shorewall-
55       routestopped(5),  shorewall-rules(5),  shorewall.conf(5), shorewall-tc‐
56       classes(5),  shorewall-tcdevices(5),  shorewall-tcrules(5),  shorewall-
57       tos(5), shorewall-tunnels(5), shorewall-zones(5)
58
59
60
61                                  19 May 2008              shorewall-netmap(5)
Impressum