In looking at my
/var/lib/iptables/rules-save, I don't have anything in there about ntp either...
so I'm not sure why you aren't working
I am going to include several items from my setup:
-------------------------------------------
Here are all the uncommented lines in
/etc/ntp.confCODE
logfile /var/log/ntpd.log
driftfile /var/lib/ntp/ntp.drift
server tick.wustl.edu
server tock.usno.navy.mil
server tick.usno.navy.mil
restrict 192.168.0.0 mask 255.255.255.0 notrust nomodify notrap
(the last line is not super important ... and restricts who can sync with this server {that is, my internal netowrk only}, it shouldn't effect the client)
---------------------------------------
here are the uncommented lines in
/etc/conf.d/ntp-clientCODE
NTPCLIENT_CMD="ntpdate"
NTPCLIENT_OPTS="-b 192.168.0.2"
(I use another time server on my network for the initial time sync {192.168.0.2}, you can probably leave this remarked out, OR set it to
NTPCLIENT_OPTS="-b pool.ntp.org"---------------------------------------
Here are all the uncommented lines for
/etc/conf.d/ntpdCODE
NTPD_OPTS="-u ntp:ntp"
---------------------------------------
I would copy the current files to .bak, then update each with what I gave you and see if it starts sync'ing ... (after changing the files do
/etc/init.d/ntp-client restart and
/etc/init.d/ntpd restart)
If you still can't sync, I would recommend that you turn off your firewall (
/etc/init.d/iptables stop), restart the ntp-client and ntpd services, wait 30 minutes and see if they sync ... if they do, it is an IPTABLES problem ... if not, something else is the issue (maybe a school proxy/firewall).