Click to See Complete Forum and Search --> : Firewall + ntp


steveq
12-12-2002, 09:20 PM
Hi 'Yall,

I've looked through the forums and found plenty of articles on getting my Windows box to be able to time synchronize through my linux machine. But I've tried eveything and it just won't work! Grrr....

So I have resorted to posting my rc.firewall script, in the hope that someone out there will see my problem and be kind enough to help me.

I am running Red Hat 7.3

Attached is my rc.firewall script. If I disable it, Windows can time synchronize. With it enabled.... nothing.

This is what I added to allow port 123 (ntp) access:

$IPTABLES -A INPUT -i $EXTIF -p udp --sport 123 --dport 123 -m state --state ESTABLISHED,RELATED -j ACCEPT

Any ideas?

Many thanks,

Steve Q.