[ntp:questions] How to establish a public timeserver on linux? (ntp.conf)

David Woolley david at ex.djwhome.demon.invalid
Wed Dec 26 14:10:49 UTC 2012


Michael Tatarinov wrote:
> 2012/12/26, David Woolley <david at ex.djwhome.demon.invalid>:
>> joerg.wiegleb at googlemail.com wrote:
>>> what are the right settings in ntp.conf to allow public access?
>> A sufficient condition would be the lack of any restrict lines.
> 
> Not always. It's my config:

It's always sufficient.  But it is not necessary.  The real answer is 
that there is no one right set of settings.

> restrict default kod limited nomodify nopeer notrap nomrulist
> restrict 127.0.0.1
> restrict ::1

Incidentally, nomrulist seems to be undocumented, although it does seem 
to be a reasonable privacy restriction (prevents access to a recent 
client list).  nomodify is redundant, unless you have defined encryption 
keys and they may have been compromised.



More information about the questions mailing list