mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-03 03:19:36 +01:00
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:
parent
a1f5736d0d
commit
8f716f9dd1
@ -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
|
17
Shorewall-common/macro.Reaimin
Normal file
17
Shorewall-common/macro.Reaimin
Normal 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
|
Loading…
Reference in New Issue
Block a user