mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-01 20:13:49 +01:00
17 lines
398 B
Plaintext
17 lines
398 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 && ! $AUTOHELPERS && __FTP_HELPER )
|
|
PARAM - - tcp 21 ; helper=ftp
|
|
?else
|
|
PARAM - - tcp 21
|
|
?endif
|