Нема описа
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
  2. driftfile /var/lib/ntp/ntp.drift
  3. # Enable this if you want statistics to be logged.
  4. #statsdir /var/log/ntpstats/
  5. statistics loopstats peerstats clockstats
  6. filegen loopstats file loopstats type day enable
  7. filegen peerstats file peerstats type day enable
  8. filegen clockstats file clockstats type day enable
  9. # Use servers from the NTP Pool Project
  10. server 0.north-america.pool.ntp.org
  11. server 1.north-america.pool.ntp.org
  12. server 2.north-america.pool.ntp.org
  13. server 3.north-america.pool.ntp.org
  14. # fallback
  15. server tick.usno.navy.mil
  16. # Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for
  17. # details. The web page <http://support.ntp.org/bin/view/Support/AccessRestrictions>
  18. # might also be helpful.
  19. #
  20. # Note that "restrict" applies to both servers and clients, so a configuration
  21. # that might be intended to block requests from certain clients could also end
  22. # up blocking replies from your own upstream servers.
  23. # By default, exchange time with everybody, but don't allow configuration.
  24. restrict -4 default kod notrap nomodify nopeer noquery
  25. restrict -6 default kod notrap nomodify nopeer noquery
  26. # Local users may interrogate the ntp server more closely.
  27. restrict 127.0.0.1
  28. restrict ::1
  29. # Clients from this (example!) subnet have unlimited access, but only if
  30. # cryptographically authenticated.
  31. #restrict 192.168.123.0 mask 255.255.255.0 notrust
  32. # If you want to provide time to your local subnet, change the next line.
  33. # (Again, the address is an example only.)
  34. #broadcast 192.168.123.255
  35. # If you want to listen to time broadcasts on your local subnet, de-comment the
  36. # next lines. Please do this only if you trust everybody on the network!
  37. #disable auth
  38. #broadcastclient