centos6.7搭建局域网ntp服务器

修改/etc/ntp.conf文件

restrict xxx nomodify notrap nopeer noquery             #xxx 此处配置本地IP地址
restrict 127.0.0.1
restrict xxx mask 255.255.255.0 nomodify notrap     # xxx为允许进行ntp同步的网段
server 127.127.1.0
Fudge 127.127.1.0 stratum 8

posted @ 2019-09-26 14:06  xiao_pai_pai  阅读(252)  评论(0编辑  收藏  举报