2008-12-07 19:17:26 +01:00
|
|
|
#
|
|
|
|
# Shorewall version 4 - FTP Macro
|
|
|
|
#
|
|
|
|
# /usr/share/shorewall/macro.FTP
|
|
|
|
#
|
|
|
|
# This macro handles FTP traffic.
|
|
|
|
#
|
|
|
|
###############################################################################
|
2012-08-09 19:32:34 +02:00
|
|
|
FORMAT 2
|
2008-12-07 19:17:26 +01:00
|
|
|
#ACTION SOURCE DEST PROTO DEST SOURCE RATE USER/
|
|
|
|
# PORT(S) PORT(S) LIMIT GROUP
|
2012-08-09 16:36:04 +02:00
|
|
|
?IF ( __CT_TARGET && $HELPERS && __FTP_HELPER )
|
|
|
|
PARAM - - tcp 21 ; helper=ftp
|
|
|
|
?ELSE
|
|
|
|
PARAM - - tcp 21
|
|
|
|
?ENDIF
|