[ale] NTP...
roberth1954 at aim.com
roberth1954 at aim.com
Tue Apr 25 14:18:15 EDT 2006
I can't seem to find it now but, once upon a time I could sware I read
where the latest version of ntpd would automatically use
non-priviledged ports if it was operating as a non-root user. (ntpd -u
ntp) I think this is why ntpd on my linux hosts can get around my
Linksys router.
-----Original Message-----
From: Joe Steele <joe at madewell.com>
To: ale at ale.org
To: Atlanta Linux Enthusiasts <ale at ale.org>
Sent: Tue, 25 Apr 2006 13:16:37 -0400
Subject: Re: [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
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and
industry-leading spam and email virus protection.
More information about the Ale
mailing list