Advertisement
pjmakey2

ntp_not_restricted

Sep 2nd, 2014
578
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.72 KB | None | 0 0
  1. driftfile /var/lib/ntp/drift
  2.  
  3. restrict default kod nomodify notrap nopeer noquery
  4. restrict -6 default kod nomodify notrap nopeer noquery
  5.  
  6. restrict 127.0.0.1
  7. restrict -6 ::1
  8.  
  9. restrict 0.0.0.0 mask 0.0.0.0 nomodify notrap
  10. restrict 192.168.1.0 mask 255.255.240.0 nomodify notrap
  11. restrict 192.168.0.0 mask 255.255.240.0 nomodify notrap
  12. restrict 192.168.10.0 mask 255.255.240.0 nomodify notrap
  13. restrict 192.168.13.0 mask 255.255.240.0 nomodify notrap
  14. restrict 192.168.12.0 mask 255.255.240.0 nomodify notrap
  15. restrict 192.168.11.0 mask 255.255.240.0 nomodify notrap
  16.  
  17. includefile /etc/ntp/crypto/pw
  18.  
  19. keys /etc/ntp/keys
  20.  
  21.  
  22. statsdir /var/log/ntpstats/
  23. statistics loopstats peerstats clockstats
  24. server 127.127.1.0 iburst
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement