Advertisement
Guest User

Untitled

a guest
Feb 11th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. interface ignore wildcard
  2. interface listen <local_nic_ip>
  3.  
  4. 5:udp 0 0 <local_nic_ip>:123 0.0.0.0:* 9172/ntpd
  5. 6:udp 0 0 127.0.0.1:123 0.0.0.0:* 9172/ntpd
  6. 8:udp6 0 0 ::1:123 :::* 9172/ntpd
  7.  
  8. /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 121:130
  9.  
  10. NTPD_OPTS='-g'
  11.  
  12. NTPD_OPTS='-4 -g'
  13.  
  14. interface ignore wildcard
  15. interface listen <local_nic_ip>
  16.  
  17. # netstat -anp | grep :123
  18. udp 0 0 192.168.0.38:123 0.0.0.0:* 2901/ntpd
  19. udp 0 0 127.0.0.1:123 0.0.0.0:* 2901/ntpd
  20.  
  21. listen on 127.0.0.1
  22.  
  23. listen on <local_nic_ip>
  24.  
  25. # netstat -anp | grep :123
  26. udp 0 0 192.168.0.38:123 0.0.0.0:* 8581/ntpd
  27. udp 0 0 127.0.0.1:123 0.0.0.0:* 8581/ntpd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement