summaryrefslogtreecommitdiff
path: root/ntp/ntp.conf
blob: ce769e3bbf69f63d3af25f8d47cf8ebb0bb4ddd6 (plain)
    1 #
    2 # /etc/ntp/ntp.conf: ntp configuration
    3 #
    4 
    5 ###############################################################################
    6 # Default paths
    7 
    8 logfile   /var/log/ntp.log
    9 pidfile   /var/run/ntp/ntpd.pid
   10 driftfile /var/lib/ntp/ntp.drift
   11 #statsdir /var/lib/ntp/stats/
   12 
   13 # Associate to public NTP pool servers
   14 server 0.pool.ntp.org
   15 server 1.pool.ntp.org
   16 server 2.pool.ntp.org
   17 
   18 # Only allow read-only access from localhost
   19 restrict default noquery nopeer
   20 restrict 127.0.0.1
   21 restrict ::1
   22 
   23 # avoid udp spoofed ddos attacks
   24 disable monitor
   25 
   26 # Now list the NTP clients on our home network which should be able to query
   27 # our server for the time (notice that the noquery has been removed)
   28 #
   29 #restrict 192.168.0.0 mask 255.255.255.0
   30 
   31 # End of file

Generated by cgit