Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Exclusive access for few IPs to NTP device


  • Please log in to reply
3 replies to this topic

#1 iqtan

iqtan

  • Members
  • 7 posts
  • OFFLINE
  •  
  • Local time:10:02 PM

Posted 12 January 2016 - 06:11 AM

How to provide a client exclusive access to the NTP device or NTP server.

Example:
1. Configured md5 authentication for a subnet added below restriction line to the subnet as below in ntp.conf file. Also configured the keys and md5 authentication working .

restrict 192.168.1.0 mask 255.255.255.0 nomodify noquery nopeer notrust


Question 1: Now how to provide just plain exclusive (non md5 authentication) to some of the IPs from the subnet.

192.168.1.10
192.168.1.20

Question 2: Any order to follow in ntp.conf file. Which will be precedence over the other.

Can you please let me know.

Appreciate your help.



BC AdBot (Login to Remove)

 


#2 mremski

mremski

  • Members
  • 498 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:NH
  • Local time:01:02 PM

Posted 12 January 2016 - 07:14 AM

Never tried it, but I'd be inclined to put something for the single IPs above the subnet one and use mask 255.255.255.255


FreeBSD since 3.3, only time I touch Windows is to fix my wife's computer


#3 iqtan

iqtan
  • Topic Starter

  • Members
  • 7 posts
  • OFFLINE
  •  
  • Local time:10:02 PM

Posted 12 January 2016 - 12:11 PM

Thanks mremski

 

so as mention below

restrict 192.168.1.10 nomodify noquery nopeer 



#4 mremski

mremski

  • Members
  • 498 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:NH
  • Local time:01:02 PM

Posted 12 January 2016 - 12:17 PM

I think that should work.


FreeBSD since 3.3, only time I touch Windows is to fix my wife's computer





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users