From owner-freebsd-questions Mon Aug 12 23:17:56 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B3DA37B400 for ; Mon, 12 Aug 2002 23:17:54 -0700 (PDT) Received: from pursued-with.net (adsl-66-125-9-242.dsl.sndg02.pacbell.net [66.125.9.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F86C43E42 for ; Mon, 12 Aug 2002 23:17:54 -0700 (PDT) (envelope-from Kevin_Stevens@pursued-with.net) Received: from localhost (fffinch [192.168.168.101]) by pursued-with.net (8.12.3/8.12.3) with ESMTP id g7D6Hr8m017677; Mon, 12 Aug 2002 23:17:53 -0700 (PDT) (envelope-from Kevin_Stevens@pursued-with.net) Date: Mon, 12 Aug 2002 23:17:55 -0700 Subject: Re: Getting NTP to bind only to internal IP Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) Cc: FreeBSD Questions To: BSD Freak From: Kevin Stevens In-Reply-To: <10c688810c4c9f.10c4c9f10c6888@mbox.com.au> Message-Id: <67ADF2B2-AE84-11D6-8103-003065715DA8@pursued-with.net> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.482) 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 Monday, August 12, 2002, at 12:23 , BSD Freak wrote: > Hi everyone > > Does anyone know how to get NTP to bind only to a certain (internal) IP > address on a system with multiple IP addresses? > > Thanks in advance..... I guess I don't understand your question - have you looked in 'man ntp.conf'? There's a whole section on access restriction in there. My ntp.conf, for example, restricts time queries to addresses on my internal network - so by definition those are going to come in on a specific host address: bash-2.05a$ cat /etc/ntp.conf server time.apple.com server tick.ucla.edu server nist1.datum.com driftfile /var/db/ntp.drift restrict 192.168.168.0 mask 255.255.255.0 KeS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message