limit snmpd to localhost and wg addresses

This commit is contained in:
rene committed 2022-03-15 11:08:43 +01:00
1 parent 7d455888c9
commit 120d5e4396
1 file changed
+1 -1
+1 -1
View File
@@ -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: