|
# Restrict NTP access in default
restrict default ignore
# Allow NTP access from localhost
restrict 127.0.0.1
# Allow access from LAN
restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap
# Allow access to external NTP servers
restrict 210.173.160.57 mask 255.255.255.255 nomodify notrap noquery
restrict 210.173.160.27 mask 255.255.255.255 nomodify notrap noquery
# External NTP servers
server 210.173.160.57
server 210.173.160.27
# CMOS clock
server 127.127.1.0
fudge 127.127.1.0 stratum 10
# Drift file
driftfile /var/lib/ntp/drift/ntp.drift
# Alternate logfile
logfile /var/log/ntp
|