Proxying by Nas-Ip-Address (was Proxy.conf regex )

Andrea Cerrito is at gentestrana.net
Mon May 7 13:45:36 CEST 2007


Hi to list,

I've read the thread for "Proxy.conf regex".
I'd like to setup a proxy based on Nas-Ip-Address.

I've tried two solutions:

1) add to users file (please note that 255.255.255.255 is done by radtest,
and realm test.com is configured in proxy.conf)
DEFAULT NAS-IP-Address == 255.255.255.255
        Proxy-To-Realm = "test.com"

2) add to users file
DEFAULT Huntgroup-Name == "test"
        Proxy-To-Realm = "test.com"

And to huntgroups file
test   NAS-IP-Address == 255.255.255.255

Without success. All logins are tested locally.
My radiusd.conf reports:
proxy_requests  = yes
$INCLUDE  ${confdir}/proxy.conf
...
        files {
                usersfile = ${confdir}/users
        }
        preprocess {
                huntgroups = ${confdir}/huntgroups
	}
...
authorize {
        preprocess
...
        files
}
preacct {
        preprocess
...
        files
}

Any clue?
Thank you

> -----Original Message-----
> From: 
> freeradius-users-bounces+is=gentestrana.net at lists.freeradius.o
> rg 
> [mailto:freeradius-users-bounces+is=gentestrana.net at lists.free
> radius.org] On Behalf Of Joseph
> Sent: Friday, May 04, 2007 10:38 PM
> To: FreeRadius users mailing list
> Subject: Proxy.conf regex 
> 
> Is it possible to use wild card domains in proxy.conf?
> 
> Or does regex support have to be enabled somewhere or can it 
> be enabled?
> 
> regards, Joseph
> -
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html
> 
> No virus found in this incoming message.
> Checked by AVG Free Edition. 
> Version: 7.5.467 / Virus Database: 269.6.5/792 - Release 
> Date: 06/05/2007 21.01
>  
> 




More information about the Freeradius-Users mailing list