From 879ea6707ce9c25aeaf77ad779ef9767b5f4040b Mon Sep 17 00:00:00 2001 From: teastep Date: Wed, 17 Dec 2008 00:55:32 +0000 Subject: [PATCH] Add Reaim macro git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9084 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-common/macro.Reaim | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Shorewall-common/macro.Reaim diff --git a/Shorewall-common/macro.Reaim b/Shorewall-common/macro.Reaim new file mode 100644 index 000000000..7fa58e47a --- /dev/null +++ b/Shorewall-common/macro.Reaim @@ -0,0 +1,18 @@ +# +# Shorewall version 4 - reaim Macro +# +# /usr/share/shorewall/macro.Reaim +# +# This macro handles reaim redirection. +# +# Normal usage in your rules file is: +# +# Reaim net loc +# +############################################################################### +#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 +#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE