From owner-freebsd-questions Mon Jan 28 4:24:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tharmas.rintrah.org (dhcp065-031-016-002.insight.rr.com [65.31.16.2]) by hub.freebsd.org (Postfix) with SMTP id 8D7E837B402 for ; Mon, 28 Jan 2002 04:24:35 -0800 (PST) Received: (qmail 76606 invoked by uid 1000); 28 Jan 2002 12:27:45 -0000 Date: Mon, 28 Jan 2002 07:27:45 -0500 From: devin-freebsdquestions@rintrah.org To: Marco Radzinschi Cc: freebsd-questions@freebsd.org Subject: Re: NTP behind NAT box? Message-ID: <20020128072745.A76592@tharmas.rintrah.org> Mail-Followup-To: Marco Radzinschi , freebsd-questions@freebsd.org References: <20020122085250.N7705-100000@mail.radzinschi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020122085250.N7705-100000@mail.radzinschi.com>; from marco@radzinschi.com on Tue, Jan 22, 2002 at 08:56:10AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jan 22, 2002 at 08:56:10AM -0500, Marco Radzinschi wrote: > Hello: > > I am running ntpd on a machine behind a router which is taking > care of NAT. I have the router forwarding UDP packets on port 123 to said > machine, and NTP is working. > > Now, do I really need to be forwarding UDP/123 to that machine, or will > ntpd work without it? ntpd will make outbound connections to sync the box it is running on with whatever ntp server you connect to in the outside world. in this case you don't need to be forwarding port 123 to it (in fact, that might be a bad idea...) On the other hand, if you need to sync from outside your router in to your ntpd machine, then you do need to forward that port. > I am assuming it won't, as I have had trouble with it before, but I want > to make sure. It should work for syncing the time on that machine. --devin -- Mathematicians are like Frenchmen: whatever you say to them they translate into their own language, and forthwith it is something entirely different. -- Johann Wolfgang von Goethe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message