Split Reaim Macro into two

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9091 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2008-12-17 16:42:56 +00:00
parent a1f5736d0d
commit 8f716f9dd1
2 changed files with 20 additions and 5 deletions

View File

@ -3,16 +3,14 @@
#
# /usr/share/shorewall/macro.Reaim
#
# This macro handles reaim redirection.
# This macro handles reaim from the internet to the firewall.
#
# Normal usage in your rules file is:
#
# Reaim net loc
# Reaimex net $FW
#
###############################################################################
#ACTION SOURCE DEST PROTO DEST SOURCE RATE USER/
# PORT(S) PORT(S) LIMIT GROUP
ACCEPT SOURCE $FW tcp 1863:1864,4443,5566,40000:40099
REDIRECT DEST 5190 tcp 5190
REDIRECT DEST 1863 tcp 1863
ACCEPT - - tcp 1863:1864,4443,5566,40000:40099
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE

View File

@ -0,0 +1,17 @@
#
# Shorewall version 4 - reaim Macro
#
# /usr/share/shorewall/macro.Reaim
#
# This macro handles reaim from the local LAN to the firewall.
#
# Normal usage in your rules file is:
#
# Reaimin loc
#
###############################################################################
#ACTION SOURCE DEST PROTO DEST SOURCE RATE USER/
# PORT(S) PORT(S) LIMIT GROUP
REDIRECT - 5190 tcp 5190
REDIRECT - 1863 tcp 1863
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE