ntpdate works; ntpd doesn't

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I can manually set the time on my system with ntpdate:

# ntpdate time.nist.gov
 2 Apr 14:38:16 ntpdate[16583]: step time server 192.43.244.18 offset -48.173770 
sec

However, once I start ntpd, it never adjusts the time.

This is on a firewall system running iptables, with these rules:

$IPT -A OUT_NETWORK -m state --state NEW -p udp --dport 123 -j ACCEPT # time
$IPT -A OUT_FIREWALL -m state --state NEW -p udp --dport 123 -j ACCEPT # ntpd
$IPT -A OUT_NETWORK -m state --state NEW -p tcp --dport 123 -j ACCEPT # time
$IPT -A OUT_FIREWALL -m state --state NEW -p tcp --dport 123 -j ACCEPT # ntpd

What's wrong here?
--
Tim Evans, TKEvans.com, Inc.	|    5 Chestnut Court
tkevans@xxxxxxxxxxx		|    Owings Mills, MD 21117
http://www.tkevans.com/		|    443-394-3864
http://www.come-here.com/News/	|    



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux