Proxy.conf regex

Alan DeKok aland at deployingradius.com
Sat May 5 08:58:08 CEST 2007


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
	...

  Alan DeKok.
--
  http://deployingradius.com       - The web site of the book
  http://deployingradius.com/blog/ - The blog



More information about the Freeradius-Users mailing list