summaryrefslogtreecommitdiff
path: root/data/templates/ntp
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-10-13 14:07:30 +0200
committerGitHub <noreply@github.com>2021-10-13 14:07:30 +0200
commit4d99d91829fa06a3a56299c6ec6936a5c8efc796 (patch)
tree3f8f6a29fed5a20e8881407ad87b4fef0d8e4deb /data/templates/ntp
parente84623a1cd284d742d5c8849a75c56c3b178e0ef (diff)
parent854c68d43d8f1cf20417edd12284ea20f9e7ec9a (diff)
downloadvyos-1x-4d99d91829fa06a3a56299c6ec6936a5c8efc796.tar.gz
vyos-1x-4d99d91829fa06a3a56299c6ec6936a5c8efc796.zip
Merge pull request #1023 from Georgiy-Tugai/patch-1
T3904: Fix NTP pool associations
Diffstat (limited to 'data/templates/ntp')
-rw-r--r--data/templates/ntp/ntpd.conf.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/templates/ntp/ntpd.conf.tmpl b/data/templates/ntp/ntpd.conf.tmpl
index 2b56b53c3..38e68f24f 100644
--- a/data/templates/ntp/ntpd.conf.tmpl
+++ b/data/templates/ntp/ntpd.conf.tmpl
@@ -6,6 +6,8 @@
driftfile /var/lib/ntp/ntp.drift
# By default, only allow ntpd to query time sources, ignore any incoming requests
restrict default noquery nopeer notrap nomodify
+# Allow pool associations
+restrict source nomodify notrap noquery
# Local users have unrestricted access, allowing reconfiguration via ntpdc
restrict 127.0.0.1
restrict -6 ::1