summaryrefslogtreecommitdiff
path: root/sysconf/ntp.conf
blob: 855d50971b8779cea284f1d2d40fd69b3405f2ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help

# This configuration file is automatically generated by the Vyatta
# configuration subsystem.  Please do not manually edit it.
#
# The first section of this file consists of static parameters
# (that can not be changed via the VyOS CLI) and default values
# that prevent ntpd being queried (client only mode).
#

driftfile /var/lib/ntp/ntp.drift

# By default, only allow ntpd to query time sources, ignore any
# incoming requests.

restrict default ignore
restrict -6 default ignore

# Local users have unrestricted access, allowing reconfiguration
# via ntpdc
restrict 127.0.0.1
restrict -6 ::1

# VyOS CLI configuration options