For some strange reason, I am having issues with using NTP. My server which also functions as a router for our network serves time via NTP and gets time via NTP (ntp.org). The only problem though is that it never actually appears to sync with ntp.org even though it should. I don't believe NTP is being blocked by my ISP, what else am I missing?
# With the default settings below, ntpd will only synchronize your clock.
# For details, see:
# - the ntp.conf man page
# - http://support.ntp.org/bin/view/Support/GettingStarted
# - https://wiki.archlinux.org/index.php/Ne … col_daemon
server 0.pool.ntp.org iburst
server 1.pool.ntp.org iburst
server 2.pool.ntp.org iburst
server 3.pool.ntp.org iburst
restrict default ignore
restrict 192.168.5.0 mask 255.255.255.0 notrust nomodify notrap
restrict 192.168.6.0 mask 255.255.255.0 notrust nomodify notrap
#These will allow only ntp clients with an IP
#address in the 192.168.0.xxx range to use your ntp server
# $OpenBSD: ntpd.conf,v 1.7 2004/07/20 17:38:35 henning Exp $
# sample ntpd configuration file, see ntpd.conf(5)
# Addresses to listen on (ntpd does not listen by default)
#listen on 0.0.0.0
#listen on 127.0.0.1
#listen on ::1
# sync to a single server
# use a random selection of 8 public stratum 2 servers
# see http://twiki.ntp.org/bin/view/Servers/NTPPoolServers
Secondly, along that note, what should by client configuration be to automatically sync with my local NTP server? I would like to avoid hard-coding it to my server's internal IP since if I travel, I'd like it to use ntp.org or something to that effect.
Thanks for your post; however, I didn't get much further with that guide. I can indeed contact the NTP time servers so I don't believe my firewall is too restrictive (perhaps my NTP configuration is not letting me synchronize with those time servers?). I do indeed see that my laptop has the server listed as a peer, but the time is still different from that of the server.