配置Windows为NTP服务器
建议使用 ntpd for windows,这是一个ntp的windows版,操作和linux相似 下载:https://www.meinbergglobal.com/english/sw/ntp.htm#ntp_nt 目前版本是 ntp-4.2.8p7 ,经测试可以在win7上使用。 1、下载安装,都很简单,下一步完成。 2、配置,基本和linux差不多,安装应用目录 点击Edit Ntp Configuration,进行ntp配置,参考linux配置 #默认拒绝所有来源的任何访问 restrict default noquery nopeer nomodify notrap restrict -6 default noquery nopeer nomodify notrap # allow status queries and everything else from localhost # 允许本地访问 restrict 127.0.0.1 restrict -6 ::1 # if you need to allow access from a remote host, you can add lines like this: # restrict <IP OF REMOTE HOST> # 设置自己需要访问的网段地址 restrict 10.102.145.0 mask