If this server is also going to provide time for other computers, such as PCs, other Linux servers, and networking devices, then you'll have to define the networks from which this server will accept NTP synchronization requests. You do so with a modified restrict statement with the
noquery replaced with a
notrust keyword. This allows the network to query your NTP server, but it won't be trusted to be a source of NTP synchronization data. The syntax is:
restrict 192.168.1.0 mask 255.255.255.0 notrust nomodify notrap
In this case the
mask statement has been expanded to include all 255 possible IP addresses on the local network.