Last active
August 29, 2015 14:19
-
-
Save neilhwatson/5cb7b47d17349e3a4a52 to your computer and use it in GitHub Desktop.
ntp.conf for McWaffel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/ntp.conf, configuration for ntpd | |
| driftfile /var/lib/ntp/ntp.drift | |
| statsdir /var/log/ntpstats/ | |
| statistics loopstats peerstats clockstats | |
| filegen loopstats file loopstats type day enable | |
| filegen peerstats file peerstats type day enable | |
| filegen clockstats file clockstats type day enable | |
| # pool.ntp.org maps to more than 300 low-stratum NTP servers. | |
| # Your server will pick a different set every time it starts up. | |
| # *** Please consider joining the pool! *** | |
| # *** <http://www.pool.ntp.org/join.html> *** | |
| server time.nrc.ca | |
| server 0.pool.ntp.org | |
| server 1.pool.ntp.org | |
| server 2.pool.ntp.org | |
| server 3.pool.ntp.org | |
| # By default, exchange time with everybody, but don't allow configuration. | |
| # See /usr/share/doc/ntp-doc/html/accopt.html for details. | |
| restrict -4 default kod notrap nomodify nopeer noquery | |
| restrict -6 default kod notrap nomodify nopeer noquery | |
| # Local users may interrogate the ntp server more closely. | |
| restrict 127.0.0.1 | |
| restrict ::1 | |
| # Clients from this (example!) subnet have unlimited access, | |
| # but only if cryptographically authenticated | |
| #restrict 192.168.123.0 mask 255.255.255.0 notrust | |
| restrict 192.168.0.0 mask 255.255.255.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment