26 Mar
2013
26 Mar
'13
9:20 a.m.
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 ?