NTP Settings for CentOS: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
Created page with "<pre> vi /etc/chrony.con </pre> Interesting settings. <pre> pool au.pool.ntp.org iburst allow 192.168.0.0/16 </pre> <pre> systemctl restart chrony systemctl status chrony <..."
 
No edit summary
 
Line 1: Line 1:
By default chrony operates only as an NTP client.  To change to operate as a server and allow clients to obtain NTP information you need to allow connections.  Set an allow with the appropriate network address.
<pre>
<pre>
vi /etc/chrony.con
vi /etc/chrony.con
</pre>
</pre>


Interesting settings.
Custom settings.


<pre>
<pre>
pool au.pool.ntp.org iburst
pool au.pool.ntp.org iburst
</pre>
To operate as a server and allow client connections.
<pre>
allow 192.168.0.0/16
allow 192.168.0.0/16
</pre>
</pre>

Latest revision as of 03:43, 10 May 2020

By default chrony operates only as an NTP client. To change to operate as a server and allow clients to obtain NTP information you need to allow connections. Set an allow with the appropriate network address.

vi /etc/chrony.con

Custom settings.

pool au.pool.ntp.org iburst

To operate as a server and allow client connections.

allow 192.168.0.0/16
systemctl restart chrony
systemctl status chrony