NTP on CentOS 7
- yum install ntp
- edit /etc/ntp.conf
- add servers from your country to config, check here https://www.ntppool.org/en/
- server 1.hr.pool.ntp.org
- server 3.europe.pool.ntp.org
- server 1.europe.pool.ntp.org
- restrict 192.168.1.0 netmask 255.255.255.0 nomodify notrap //this will allow client from network 192.168.1 to access ntp server
- add servers from your country to config, check here https://www.ntppool.org/en/
- systemctl start ntpd
- systemctl enable ntpd
- systemctl status ntpd