File: netmap

package info (click to toggle)
shorewall 3.2.6-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,508 kB
  • ctags: 288
  • sloc: sh: 12,774; makefile: 66
file content (36 lines) | stat: -rw-r--r-- 1,073 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#
# Shorewall version 3.2	 - Netmap File
#
# /etc/shorewall/netmap
#
#	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.
#
# Columns are:
#
#	TYPE		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 in CIDR format (e.g., 192.168.1.0/24)
#
#	INTERFACE	The name of a network interface. The interface must
#			be defined in /etc/shorewall/interfaces.
#
#	NET2		Network in CIDR format
#
# See http://shorewall.net/netmap.html for an example and usage
# information.
#
###############################################################################
#TYPE	NET1			INTERFACE	NET2
#LAST LINE -- ADD YOUR ENTRIES ABOVE THIS LINE -- DO NOT REMOVE