contrib/ntp/ntp.conf

32 lines
734 B
Plaintext
Raw Normal View History

2007-01-12 08:23:22 +01:00
#
# /etc/ntp/ntp.conf: ntp configuration
#
###############################################################################
# Default paths
logfile /var/log/ntp.log
pidfile /var/run/ntp/ntpd.pid
driftfile /var/lib/ntp/ntp.drift
#statsdir /var/lib/ntp/stats/
# Associate to public NTP pool servers
server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org
# Only allow read-only access from localhost
restrict default noquery nopeer
2007-01-12 08:23:22 +01:00
restrict 127.0.0.1
restrict ::1
2007-01-12 08:23:22 +01:00
# avoid udp spoofed ddos attacks
disable monitor
2007-01-12 08:23:22 +01:00
# Now list the NTP clients on our home network which should be able to query
# our server for the time (notice that the noquery has been removed)
#
2007-01-12 08:23:22 +01:00
#restrict 192.168.0.0 mask 255.255.255.0
# End of file