mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-30 11:33:28 +01:00
d72f0a1f41
Signed-off-by: Tuomo Soini <tis@foobar.fi>
15 lines
407 B
Plaintext
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
|