NTP Server : Install NTPd2019/07/10 |
Install NTPd and Configure NTP server for time adjustment. NTP uses 123/UDP.
|
|
[1] | Install and Configure NTPd. |
root@dlp:~#
apt -y install ntp
root@dlp:~#
vi /etc/ntp.conf # line 23: comment out # pool 0.debian.pool.ntp.org iburst# pool 1.debian.pool.ntp.org iburst# pool 2.debian.pool.ntp.org iburst# pool 3.debian.pool.ntp.org iburst# add servers in your timezone to sync times
server ntp.nict.jp iburst
server ntp1.jst.mfeed.ad.jp iburst # line 52: add the network range you allow to receive requests restrict 10.0.0.0 mask 255.255.255.0 nomodify notrap
root@dlp:~#
systemctl restart ntp
# show status root@dlp:~# ntpq -p remote refid st t when poll reach delay offset jitter ============================================================================== ntp-b2.nict.go. .NICT. 1 u - 64 1 18.465 11.431 0.000 ntp1.jst.mfeed. 133.243.236.17 2 u 1 64 1 18.954 10.659 0.678 |
Sponsored Link |
|