Debian 11 Bullseye
Sponsored Link

NTP : Configure NTP Server (Chrony)2021/08/17

 
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 8 : comment out default settings and add NTP Servers for your timezone

#pool 2.debian.pool.ntp.org iburst
pool ntp.nict.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
# verify status

root@dlp:~#
chronyc sources

MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
^- ntp-b3.nict.go.jp             1   6     7     0   -746us[-3038us] +/-   12ms
^- ntp-a3.nict.go.jp             1   6     7     0  +1648us[ -645us] +/- 8591us
^* ntp-a2.nict.go.jp             1   6     7     0   +295us[-1998us] +/- 8954us
^- ntp-b2.nict.go.jp             1   6     7     0   -347us[-2639us] +/-   10ms
Matched Content