using nasid instead of client ip..

Ivan Kalik tnt at kalik.net
Tue Jul 14 11:00:29 CEST 2009


> And now when i try to run second different client software on same server,
> because the client ip still 192.168.0.15 it uses same virtual server on
> radius.
> Is there any other way to use different virtual server according to nasip
> for example???

You mean NAS-Identifier? Yes. Create two virtual home servers (lets say
NAS1 and NAS2, see proxy.conf). Then use unlang or users file to separate
requests:

if (NAS-IP-Address == "192.168.0.15) {
     if (NAS-Identifier == "NAS1") {
          update control {
               Proxy-To-Realm := "NAS1"
          }
     elsif (NAS-Identifier == "NAS2" {
...

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list