Proxy.conf regex

Joseph lists at sspbl.com
Sat May 5 12:27:32 CEST 2007


Alan DeKok wrote:
> Joseph wrote:
>> Is it possible to use wild card domains in proxy.conf?
> 
>   No.  But you can write regexes in the "users" file:
> 
> DEFAULT	User-Name =~ "(([a-zA-Z]+\.)*foo.com", Proxy-To-Realm := "foo.com"
> 
>   Will cause the following to be proxied to "foo.com":
> 
> 	user at foo.com
> 	user at bar.foo.com
> 	user at bx.y.foo.com
> 	...
> 

I see, that helps.

What about proxying the accounting records for this wild card domain?


regards, Joseph



More information about the Freeradius-Users mailing list