mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-19 04:41:07 +01:00
50bd1d6398
Signed-off-by: Tom Eastep <teastep@shorewall.net>
21 lines
470 B
Plaintext
21 lines
470 B
Plaintext
#
|
|
# Shorewall version 4 - SNMP Macro
|
|
#
|
|
# /usr/share/shorewall/macro.SNMP
|
|
#
|
|
# This macro handles SNMP traffic (including traps).
|
|
#
|
|
###############################################################################
|
|
FORMAT 2
|
|
#ACTION SOURCE DEST PROTO DEST SOURCE RATE USER/
|
|
# PORT(S) PORT(S) LIMIT GROUP
|
|
|
|
?if ( __CT_TARGET && ! $AUTOHELPERS && __SNMP_HELPER )
|
|
PARAM - - udp 161 ; helper=snmp
|
|
PARAM - - udp 162
|
|
?else
|
|
PARAM - - udp 161:162
|
|
?endif
|
|
|
|
PARAM - - tcp 161
|