Improve comments in the macro template

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2582 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2005-08-29 20:01:04 +00:00
parent 851cd153d8
commit 433d4303ca

View File

@ -17,8 +17,7 @@
#
# - Macros may not invoke other macros.
#
# The columns in a macro definition are the same as those in the
# action.template file.
# A few examples should help show how Macros work.
#
# /etc/shorewall/macro.FwdFTP:
@ -53,6 +52,8 @@
# contains PARAM. PARAM may be optionally
# followed by a colon and a log level.
#
# You may also follow the
#
# Any logging specified when the macro is
# invoked is applied to each entry in the macros.
#
@ -64,11 +65,11 @@
#
#
# Example: ###############################################
# #ACTION SOURCE DEST PROTO DEST
# #ACTION SOURCE DEST PROTO DEST
# # PORT
# Macro File DNAT net loc tcp 21
# rules File FwdFTP - 192.168.1.5
# Result DNAT net loc:192.168.1.5 tcp 21
# Macro File PARAM net loc tcp 21
# rules File FTP/DNAT - 192.168.1.5
# Result DNAT net loc:192.168.1.5 tcp 21
#
# Remaining Any value in the rules file REPLACES the value
# columns given in the macro file.