macro.template: update macro header and description

Signed-off-by: Tuomo Soini <tis@foobar.fi>
This commit is contained in:
Tuomo Soini 2016-02-15 18:20:40 +02:00
parent bc57fedac4
commit c285330f25

View File

@ -20,20 +20,17 @@
# #
# /etc/shorewall/macro.FwdFTP: # /etc/shorewall/macro.FwdFTP:
# #
# #ACTION SOURCE DEST PROTO DEST SOURCE ORIGIN RATE USER/ # #ACTION SOURCE DEST PROTO DPORT SPORT ORIGDEST RATE
# # PORT(S) PORT(S) DEST LIMIT GROUP
# DNAT - - tcp 21 # DNAT - - tcp 21
# #
# /etc/shorewall/rules: # /etc/shorewall/rules:
# #
# #ACTION SOURCE DEST PROTO DEST SOURCE ORIGIN RATE USER/ # #ACTION SOURCE DEST PROTO DPORT SPORT ORIGDEST RATE
# # PORT(S) PORT(S) DEST LIMIT GROUP
# FwdFTP net loc:192.168.1.5 # FwdFTP net loc:192.168.1.5
# #
# The result is equivalent to: # The result is equivalent to:
# #
# #ACTION SOURCE DEST PROTO DEST SOURCE ORIGIN RATE USER/ # #ACTION SOURCE DEST PROTO DPORT SPORT ORIGDEST RATE
# # PORT(S) PORT(S) DEST LIMIT GROUP
# DNAT net loc:192.168.1.5 tcp 21 # DNAT net loc:192.168.1.5 tcp 21
# #
# The substitution rules are as follows: # The substitution rules are as follows:
@ -62,11 +59,10 @@
# separator. # separator.
# #
# Example: ############################################### # Example: ###############################################
# #ACTION SOURCE DEST PROTO DEST # #ACTION SOURCE DEST PROTO DPORT
# # PORT(S) # macro.FTP File PARAM net loc tcp 21
# macro.FTP File PARAM net loc tcp 21 # rules File FTP(DNAT) - 192.168.1.5
# rules File FTP/DNAT - 192.168.1.5 # Result DNAT net loc:192.168.1.5 tcp 21
# Result DNAT net loc:192.168.1.5 tcp 21
# #
# Remaining Any value in the rules file REPLACES the value # Remaining Any value in the rules file REPLACES the value
# columns given in the macro file. # columns given in the macro file.
@ -83,6 +79,5 @@
# #
####################################################################################################### #######################################################################################################
# DO NOT REMOVE THE FOLLOWING LINE # DO NOT REMOVE THE FOLLOWING LINE
################################################################################################################################################################################################# ##############################################################################################################################################################
#ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL RATE USER/ MARK CONNLIMIT TIME HEADERS SWITCH HELPER #ACTION SOURCE DEST PROTO DPORT SPORT ORIGDEST RATE USER MARK CONNLIMIT TIME HEADERS SWITCH HELPER
# PORT PORT(S) DEST LIMIT GROUP