shorewall-netmap man page on Alpinelinux
Printed from http://www.polarhome.com/service/man/?qf=shorewall-netmap&af=0&tf=2&of=Alpinelinux
SHOREWALL-NETMAP(5) SHOREWALL-NETMAP(5)
NAME
netmap - Shorewall NETMAP definition file
SYNOPSIS
/etc/shorewall/netmap
DESCRIPTION
This file is used to map addresses in one network to corresponding
addresses in a second network.
Warning
To use this file, your kernel and iptables must have NETMAP support
included.
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 in NET2.
If SNAT, traffic leaving INTERFACE with a source address in NET1
has it´s source address rewritten to the corresponding address in
NET2.
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[1](5) Prior to Shorewall 4.1.4, this must be
an exact match. Shorewall-perl 4.1.4 and later allow loose matches
to wildcard entries in shorewall-interfaces[1](5). For example,
ppp0 in this file will match a shorewall-interfaces[1](8) entry
that defines ppp+.
NET2 - network-address
Network in CIDR format
FILES
/etc/shorewall/netmap
SEE ALSO
http://shorewall.net/netmap.html
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)
NOTES
1. shorewall-interfaces
shorewall-interfaces.html
09/05/2009 SHOREWALL-NETMAP(5)
[top]
List of man pages available for Alpinelinux
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|