pjmakey2

simple_ntp_server

Sep 2nd, 2014
638
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.92 KB | None | 0 0
  1. driftfile /var/lib/ntp/drift
  2.  
  3. server www.intn.gov.py
  4.  
  5. restrict default kod nomodify notrap nopeer noquery
  6. restrict -6 default kod nomodify notrap nopeer noquery
  7.  
  8. restrict 127.0.0.1
  9. restrict -6 ::1
  10.  
  11. restrict 192.168.1.0 mask 255.255.240.0 nomodify notrap
  12. restrict 192.168.0.0 mask 255.255.240.0 nomodify notrap
  13. :
  14.  
  15. driftfile /var/lib/ntp/drift
  16.  
  17. server www.intn.gov.py
  18.  
  19. restrict default kod nomodify notrap nopeer noquery
  20. restrict -6 default kod nomodify notrap nopeer noquery
  21.  
  22. restrict 127.0.0.1
  23. restrict -6 ::1
  24.  
  25. restrict 192.168.1.0 mask 255.255.240.0 nomodify notrap
  26. restrict 192.168.0.0 mask 255.255.240.0 nomodify notrap
  27. restrict 192.168.10.0 mask 255.255.240.0 nomodify notrap
  28. restrict 192.168.13.0 mask 255.255.240.0 nomodify notrap
  29. restrict 192.168.12.0 mask 255.255.240.0 nomodify notrap
  30. restrict 192.168.11.0 mask 255.255.240.0 nomodify notrap
  31.  
  32.  
  33.  
  34.  
  35.  
  36. includefile /etc/ntp/crypto/pw
  37.  
  38. keys /etc/ntp/keys
Advertisement
Add Comment
Please, Sign In to add comment