Skip to content

Instantly share code, notes, and snippets.

@kelseyhightower
Created March 6, 2015 20:04
Show Gist options
  • Save kelseyhightower/b0d87cb25c3a15581cb8 to your computer and use it in GitHub Desktop.
Save kelseyhightower/b0d87cb25c3a15581cb8 to your computer and use it in GitHub Desktop.
cat /etc/ntp.conf
# Common pool
server 0.coreos.pool.ntp.org
server 1.coreos.pool.ntp.org
server 2.coreos.pool.ntp.org
server 3.coreos.pool.ntp.org
# Warning: Using default NTP settings will leave your NTP
# server accessible to all hosts on the Internet.
# If you want to deny all machines (including your own)
# from accessing the NTP server, uncomment:
#restrict default ignore
# Default configuration:
# - Allow only time queries, at a limited rate, sending KoD when in excess.
# - Allow all local queries (IPv4, IPv6)
restrict default nomodify nopeer noquery limited kod
restrict 127.0.0.1
restrict [::1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment