shorewall_code/Shorewall/Macros/macro.SNMP
Tuomo Soini d72f0a1f41 macro.SNMP: update macro header and description
Signed-off-by: Tuomo Soini <tis@foobar.fi>
2016-02-15 18:20:39 +02:00

15 lines
407 B
Plaintext

#
# Shorewall -- /usr/share/shorewall/macro.SNMP
#
# This macro handles SNMP traffic.
# Note: To allow SNMP Traps, use the SNMPTrap macro.
#
###############################################################################
#ACTION SOURCE DEST PROTO DPORT SPORT ORIGDEST RATE USER
?if ( __CT_TARGET && ! $AUTOHELPERS && __SNMP_HELPER )
PARAM - - udp 161 { helper=snmp }
?else
PARAM - - udp 161
?endif