Proxying based on a regex

Charles Plater ab3189 at
Mon Jul 25 22:04:38 CEST 2011

I'm trying to configure our FreeRadius (2.1.9) server to proxy based on the format of the ID. I have a working regex that determines the domain to which the request should be sent, but I'm having a hard time figuring out the syntax of the proxy statement. Here's what I've tried:

if (User-Name !~ <REGEX>) {
else {
	proxy: LOCAL

FWIW, I can successfully authenticate do the "" realm by using userid at

Can anyone offer any suggestions? Thanks in advance.
Charles Plater
Lead Application Technical Analyst
Internet Services
ab3189 at

More information about the Freeradius-Users mailing list