mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-20 05:11:03 +01:00
ff8d354c1c
Signed-off-by: Tom Eastep <teastep@shorewall.net>
18 lines
492 B
Plaintext
18 lines
492 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 ORIGIN RATE USER/
|
|
# PORT(S) PORT(S) DEST LIMIT GROUP
|
|
?if ( __CT_TARGET && ! $AUTOHELPERS && __FTP_HELPER )
|
|
PARAM - - tcp 21 { helper=ftp }
|
|
?else
|
|
PARAM - - tcp 21
|
|
?endif
|