NTP
These instructions describe how to configure ntpd across the 10.0.0.0/24 subnet so that one host, NTP.EXAMPLE.COM, acts as the subnet’s NTP server. We make use of ntpd instead of chrony.
On each host:
rpm -e chrony.yum install ntp.- Hosts other than NTP.EXAMPLE.COM should only permit NTP connections from localhost. In these cases, merely replace the
serverstatements in/etc/ntp.confwith one that references your NTP server, NTP.EXAMPLE.COM. - Start the
ntpservice.
On NTP.EXAMPLE.COM, follow the steps above, except:
- Set
serverto point to the upstream NTP host. - Set
restrict *10.0.0.0* mask *255.255.255.0* nomodify notrap. - Run
firewall-cmd --permanent --add-service=ntp - Run
firewall-cmd --permanent --add-service=ntp --permanent