[ale] NTP...

Joe Steele joe at madewell.com
Tue Apr 25 13:16:37 EDT 2006


Michael B. Trausch wrote:
> Oy... well, perhaps, then, I'm going to just cron the ntpdate -u command... 
> lol.  I am behind two routers, and even the DMZ'd machine has problems with 
> all of this:
>   


There is another solution that you could use -- change the port numbers 
using iptables:

iptables -t nat -I POSTROUTING -p udp --source-port ntp -o eth0 -j SNAT 
--to-source 192.168.0.3:1024-65535

That should force ntpd to behave the same as ntpdate with the -u option.

--Joe



More information about the Ale mailing list