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

20 lines
498 B
Plaintext

#
# Shorewall version 3.2 - TFTP Macro
#
# /usr/share/shorewall/macro.TFTP
#
# This macro handles Trivial File Transfer Protocol (TFTP)
# Because TFTP lacks all security you should not enable it over
# Internet.
#
###############################################################################
FORMAT 2
#ACTION SOURCE DEST PROTO DEST SOURCE RATE USER/
# PORT(S) PORT(S) LIMIT GROUP
?IF ( __CT_TARGET && $HELPERS && __TFTP_HELPER )
PARAM - - udp 69 ; helper=tftp
?ELSE
PARAM - - udp 69
?ENDIF