[ntp:questions] Restrict statements and the "pool" directive

Harlan Stenn stenn at ntp.org
Sun Dec 21 12:59:20 UTC 2014


David Taylor writes:
> I just added some experimental restrict statements to one on my servers:
> 
>    restrict default notrap nomodify nopeer noquery
>    restrict 127.0.0.1
>    restrict ::1
>    restrict 192.168.0.0 mask 255.255.255.0 peer
> 
> and it now seems that the pool directive is not finding any pool servers 
> even after a few minutes running.  Is this related?  If so, how might I 
> fix the problem?
> 
> I don't find the restrict statements easy to understand as they are new 
> to me

See:

 https://support.ntp.org/bin/view/Support/ConfiguringNTP#Section_6.10.

You cannot use nopeer with pool.  

Add:

  restrict source notrap nomodify noquery

and you should be fine.
-- 
Harlan Stenn <stenn at ntp.org>
http://networktimefoundation.org - be a member!



More information about the questions mailing list