Ubuntu 18.04
Sponsored Link

NTP Server : Configure Chrony2018/04/27

 
Install Chrony and Configure NTP server for time adjustment. NTP uses 123/UDP.
[1] Install and Configure Chrony.
root@dlp:~#
apt -y install chrony
root@dlp:~#
vi /etc/chrony/chrony.conf
# line 17: comment out default settings and add NTP Servers for your timezone

#pool ntp.ubuntu.com        iburst maxsources 4
#pool 0.ubuntu.pool.ntp.org iburst maxsources 1
#pool 1.ubuntu.pool.ntp.org iburst maxsources 1
#pool 2.ubuntu.pool.ntp.org iburst maxsources 2
server ntp.nict.jp iburst
server ntp1.jst.mfeed.ad.jp iburst
server ntp2.jst.mfeed.ad.jp iburst 

# add to the end : add network range you allow to receive time syncing requests from clients

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
===============================================================================
^* ntp-a2.nict.go.jp             1   6    37     4    +21us[+1387us] +/- 9053us
^- ntp1.jst.mfeed.ad.jp          2   6    37     4  -1529us[-1529us] +/-   89ms
^- ntp2.jst.mfeed.ad.jp          2   6    37     3  -2436us[-2436us] +/-   89ms
Matched Content