mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-24 23:28:59 +01:00
30682e63d8
Signed-off-by: Tuomo Soini <tis@foobar.fi>
19 lines
465 B
Plaintext
19 lines
465 B
Plaintext
#
|
|
# Shorewall - SNMP Macro
|
|
#
|
|
# /usr/share/shorewall/macro.SNMP
|
|
#
|
|
# This macro handles SNMP traffic.
|
|
#
|
|
# Note: To allow SNMP Traps, use the SNMPTrap macro
|
|
#
|
|
###############################################################################
|
|
#ACTION SOURCE DEST PROTO DEST SOURCE ORIGIN RATE USER/
|
|
# PORT(S) PORT(S) DEST LIMIT GROUP
|
|
|
|
?if ( __CT_TARGET && ! $AUTOHELPERS && __SNMP_HELPER )
|
|
PARAM - - udp 161 { helper=snmp }
|
|
?else
|
|
PARAM - - udp 161
|
|
?endif
|