Re: Different Authentication for several devices (severalNas-Ip-Address)

2007-07-23 Thread tnt
OK. If you devices put their IP addresses in Called-Station-Id field there is no need to do rewrites. You can use regexp operators to controll access as Called-Station-Id attribute is a string. NAS1 NAS-IP-Address == proxyIP, Called-Station-Id =~ ^192.168.48. Dev group(s) in reply

Re: Different Authentication for several devices (severalNas-Ip-Address)

2007-07-23 Thread nicolaskarp
Called-Station-Id isn't equal to Nas-Ip-Address, it equal to the PC where I initiate telnet Connection. It's not equal to my Nas-Ip :( So, i would change the called-station-id to Nas-Ip-Adress and Nas-Ip-Address to proxy address. Any idea ? Selon [EMAIL PROTECTED]: OK. If you devices put

Re: Different Authentication for several devices (severalNas-Ip-Address)

2007-07-23 Thread nicolaskarp
Moreover, i use a proxy because in the huntgroup file, i can't use a CIDR network just a Host IP. Selon [EMAIL PROTECTED]: OK. If you devices put their IP addresses in Called-Station-Id field there is no need to do rewrites. You can use regexp operators to controll access as

RE: Different Authentication for several devices(severalNas-Ip-Address)

2007-07-23 Thread Hugh Messenger
[EMAIL PROTECTED] said If [ NAS-IP-Address =~ 192.168.48.* ] Calling-Station-Id = Dev else if [ NAS-IP-Address =~ 192.168.49.* ] Calling-station-id = Prod else Calling-station-id = Any fi fi You might try: DEFAULT NAS-IP-Address =~ ^192\.168\.48\.

Re: Different Authentication for several devices(severalNas-Ip-Address)

2007-07-23 Thread nicolas
In the USERS file or Pre_Proxy_Users file ? Thanks ! Nicolas. Hugh Messenger wrote: [EMAIL PROTECTED] said If [ NAS-IP-Address =~ 192.168.48.* ] Calling-Station-Id = Dev else if [ NAS-IP-Address =~ 192.168.49.* ] Calling-station-id = Prod else