summaryrefslogtreecommitdiff
path: root/src/conf_mode/ntp.py
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-03-04 15:04:40 -0800
committerhagbard <vyosdev@derith.de>2019-03-04 15:04:40 -0800
commit334995522c312fe73099d68fa9f93cd457f08e30 (patch)
tree1dba000b320375ce200040d73cb94ddf34a0286e /src/conf_mode/ntp.py
parentb2743188026e2baa8d7004b01b2e1c38ab7e0598 (diff)
downloadvyos-1x-334995522c312fe73099d68fa9f93cd457f08e30.tar.gz
vyos-1x-334995522c312fe73099d68fa9f93cd457f08e30.zip
T1280 - allow-clients on NTP configuration
Diffstat (limited to 'src/conf_mode/ntp.py')
-rwxr-xr-xsrc/conf_mode/ntp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/ntp.py b/src/conf_mode/ntp.py
index fccec3575..37af02014 100755
--- a/src/conf_mode/ntp.py
+++ b/src/conf_mode/ntp.py
@@ -37,7 +37,7 @@ config_tmpl = """
#
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
+restrict default noquery nopeer notrap nomodify noquery notrust
# Local users have unrestricted access, allowing reconfiguration via ntpdc
restrict 127.0.0.1
restrict -6 ::1