Here is my configure to setup ntp server
'/etc/ntp.conf'
driftfile /var/lib/ntp/ntp.drift
restrict default ignore
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
# Server that we want to sync time from.
restrict 66.187.233.4 mask 255.255.255.255 nomodify notrap noquery
server 66.187.233.4 prefer
# Client group that access to our ntp server.
restrict 127.0.0.1
restrict 192.168.0.0 mask 255.255.0.0 nomodify
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10
-- TaTsHuYa --
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment