Ubuntu 16.04
Sponsored Link

Configure NTP Server(Chrony)
2016/04/21
 
Install Chrony and Configure NTP server for time adjustment. NTP uses 123/UDP.
[1] Install and Configure Chrony.
root@dlp:~#
apt-get -y install chrony
root@dlp:~#
vi /etc/chrony/chrony.conf
# line 20: comment out

#
pool 2.debian.pool.ntp.org offline iburst
# add servers of your timezone for time synchronization

server ntp1.jst.mfeed.ad.jp offline iburst
server ntp2.jst.mfeed.ad.jp offline iburst
server ntp3.jst.mfeed.ad.jp offline iburst
# line 69: add the network range you allow to receive requests

#
allow 10/8
#
allow 192.168/16
#
allow 172.16/12
allow 10.0.0.0/24
root@dlp:~#
systemctl restart chrony
# show status

root@dlp:~#
chronyc sources

210 Number of sources = 3
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
^* ntp1.jst.mfeed.ad.jp          2   6     7     1   -981us[-8160us] +/-   99ms
^+ ntp2.jst.mfeed.ad.jp          2   6     7     1  +1303us[-5876us] +/-   99ms
^+ ntp3.jst.mfeed.ad.jp          2   6     7     1   +724us[-6455us] +/-  135ms
Matched Content
 
Tweet