shorewall_code/Shorewall/Macros/macro.SNMP

15 lines
407 B
Plaintext
Raw Normal View History

#
# 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