forked from jackyaz/ntpMerlin
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathntp.conf
More file actions
19 lines (14 loc) · 783 Bytes
/
Copy pathntp.conf
File metadata and controls
19 lines (14 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# replace the following with time servers or pools close to you
# see http://support.ntp.org/bin/view/Servers/NTPPoolServers
pool pool.ntp.org iburst
interface ignore wildcard
interface listen br0
logfile /opt/var/spool/ntp/ntp.log
driftfile /opt/var/spool/ntp/ntp.drift
#leapfile /opt/var/spool/ntp/leap-seconds.list # https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list
restrict default limited kod nomodify notrap nopeer noquery # restrictive default IPv4
restrict -6 default limited kod nomodify notrap nopeer noquery # restrictive default IPv6
restrict source nomodify notrap noquery # required for pool directive if using restrictive default permissions
restrict 127.0.0.1 # permissive localhost IPv4
restrict -6 ::1 # permissive localhost IPv6
disable auth stats