shorewall_code/Shorewall/Macros/macro.FTP
Tom Eastep e84ee76c7d Add helpers to macros
Signed-off-by: Tom Eastep <teastep@shorewall.net>
2012-08-09 10:32:34 -07:00

17 lines
391 B
Plaintext

#
# Shorewall version 4 - FTP Macro
#
# /usr/share/shorewall/macro.FTP
#
# This macro handles FTP traffic.
#
###############################################################################
FORMAT 2
#ACTION SOURCE DEST PROTO DEST SOURCE RATE USER/
# PORT(S) PORT(S) LIMIT GROUP
?IF ( __CT_TARGET && $HELPERS && __FTP_HELPER )
PARAM - - tcp 21 ; helper=ftp
?ELSE
PARAM - - tcp 21
?ENDIF