How to bind ntpd to a single address?

Matthew Seaman m.seaman at
Tue Jan 3 03:29:22 PST 2006

Darren Pilgrim wrote:
> I don't like (let alone want) ntpd binding to every IP address on the host.
> The man pages don't say anything about specifying a binding address for
> ntpd.  A search of the sources and Google also failed to reveal anything
> useful.
> So how to I tell ntpd to bind to a specific IP address?

ntpd doesn't have that functionality I'm afraid.  The next best you can do
is review your /etc/ntpd.conf 'restrict' rules carefully and implement a
firewall to control access to port 123/UDP.  NTP is not usually counted as
much of a security risk, and the benefits of running it certainly do outweigh
the risks.



Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP:         Ramsgate
                                                      Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-questions mailing list