# $OpenBSD: ntpd.conf,v 1.7 2004/07/20 17:38:35 henning Exp $ # sample ntpd configuration file, see ntpd.conf(5) # Addresses to listen on (ntpd does not listen by default) listen on * #listen on 127.0.0.1 #listen on ::1 # sync to a single server #server ntp.example.org # use a random selection of 4 public stratum 2 servers # see http://twiki.ntp.org/bin/view/Servers/NTPPoolServers # and http://www.pool.ntp.org/ #server 0.debian.pool.ntp.org #server 1.debian.pool.ntp.org #server 2.debian.pool.ntp.org #server 3.debian.pool.ntp.org server 0.asia.pool.ntp.org server 1.asia.pool.ntp.org server 2.asia.pool.ntp.org server 3.asia.pool.ntp.org
允许192.168.1.0段访问ntp
restrict default ignore # Hosts on local network are less restricted. restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap
原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。