John Clarke wrote:
On Thu, Sep 16, 2004 at 11:23:07 +1000, Rod Butcher wrote:


Mandrake 10 provides a user-friendly install for NTP time server connection but it doesn't seem to actually adjust my time.. the modem light flickers but time doesn't change. I've tried uadelaide.edu.au and


Check your firewall rules.  You need to allow ntp (port 123 udp) in and
out.

I don't know mandrake but I got the impression that it's standard practice to have a rule like:

# allow established connections, or related packets
iptables --append block --match state --state ESTABLISHED,RELATED
  --jump ACCEPT

which will allow a replying NTP packet pass through.  That's much
more convenient (and secure, IMHO) than completly opening the NTP port.

(in case you want to check if such a rule exists, the iptables -L output
for it looks like:

ACCEPT     all  --  anywhere anywhere state RELATED,ESTABLISHED
)

Cheers,

--Amos
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to