Set up proxy.conf with entries for the right ports, then you
should be able to do something like (example, untested):

authorize {

   if (Calling-Station-Id =~ /^.*:([a-zA-Z]+)$/) {
     update control {
       Tmp-String-0 := %{1}
     }
   }
switch "%{Tmp-String-0}" {
     case 'TEST' {
        update control {
           Proxy-To-Realm := testproxy
        }
     }
     case 'WIFI' {
        update control {
           Proxy-To-Realm := wifiproxy
        }
     }
     ...
   }

}

This should work between different servers; I'm not sure if you'll
hit the "only one internal proxy" limit on one server.

Matthew


How about hyphen SSID ? ex : WIFI-TEST
I failed in writing regex for it...

Any idea ?
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to