diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-01-15 16:57:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-15 16:57:48 +0100 |
commit | 618db51b3b4cf0d6ce2e96d88b3b19739bf0d236 (patch) | |
tree | cade590ba95200afe5a955cb67b6fed7aa3d1a67 /data/templates/ntp/ntpd.conf.tmpl | |
parent | 3b4ece7dde02629bbbe8314ed7a68d197cb7136a (diff) | |
parent | 40f0e78dd94691d54ffd4d2e270ed071e2d2513a (diff) | |
download | vyos-1x-618db51b3b4cf0d6ce2e96d88b3b19739bf0d236.tar.gz vyos-1x-618db51b3b4cf0d6ce2e96d88b3b19739bf0d236.zip |
Merge pull request #1171 from sever-sever/T4184
ntp: T4184: Fix allow-clients address
Diffstat (limited to 'data/templates/ntp/ntpd.conf.tmpl')
-rw-r--r-- | data/templates/ntp/ntpd.conf.tmpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/data/templates/ntp/ntpd.conf.tmpl b/data/templates/ntp/ntpd.conf.tmpl index 38e68f24f..e7afcc16b 100644 --- a/data/templates/ntp/ntpd.conf.tmpl +++ b/data/templates/ntp/ntpd.conf.tmpl @@ -27,6 +27,7 @@ restrict -6 ::1 {% if allow_clients is defined and allow_clients.address is defined %} # Allowed clients configuration +restrict default ignore {% for address in allow_clients.address %} restrict {{ address|address_from_cidr }} mask {{ address|netmask_from_cidr }} nomodify notrap nopeer {% endfor %} |