limit snmpd to localhost and wg addresses
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
path: "/etc/snmp/snmpd.conf"
|
||||
regexp: "^agentaddress.*$"
|
||||
state: present
|
||||
line: "agentaddress udp:161,udp6:[::1]:161"
|
||||
line: "agentaddress 127.0.0.1,{{ wg_local_ip | ipaddr('address') }},[::1]"
|
||||
|
||||
- name: server | snmpd start service
|
||||
service:
|
||||
|
||||
Reference in New Issue
Block a user