summaryrefslogtreecommitdiff
path: root/data/templates/snmp/etc.snmpd.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/snmp/etc.snmpd.conf.j2')
-rw-r--r--data/templates/snmp/etc.snmpd.conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/snmp/etc.snmpd.conf.j2 b/data/templates/snmp/etc.snmpd.conf.j2
index 793facc3f..66cf7629a 100644
--- a/data/templates/snmp/etc.snmpd.conf.j2
+++ b/data/templates/snmp/etc.snmpd.conf.j2
@@ -78,8 +78,8 @@ agentaddress unix:/run/snmpd.socket{{ ',' ~ options | join(',') if options is vy
{% endfor %}
{% endif %}
{% if comm_config.client is not vyos_defined and comm_config.network is not vyos_defined %}
-{{ comm_config.authorization }}community {{ comm }} -V RESTRICTED
-{{ comm_config.authorization }}community6 {{ comm }} -V RESTRICTED
+{{ comm_config.authorization }}community {{ comm }} 0.0.0.0/0 -V RESTRICTED
+{{ comm_config.authorization }}community6 {{ comm }} ::/0 -V RESTRICTED
{% endif %}
{% endfor %}
{% endif %}