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

[ale] NTP...



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