Proxy Coa | POD to specific NAS

Koos Myburgh koos at rsaweb.co.za
Mon Oct 17 12:56:41 CEST 2016


Hi 

I have a problem with my freeradius config where it only proxies POD packets to the first NAS listed in the home server pool. What config do I need to change in order for the Proxy to send COA packets to the correct NAS where the device is connected to? I have looked at documentation on  /etc/freeradius/sites-available/originate-coa but not sure if I am on the right track.

clients.conf
.....

coa_server = mobile_discon_pool

}


## Radius workers ##

client freerad-prod-srv1 {
        ipaddr = 10.0.10.7
        secret = R0cki2nvb0nsnd
}


client freerad-prod-srv2 {
        ipaddr = 10.0.10.21
        secret = R0cki2nvb0nsnd
}

## NAS IP's ##


client xx.yy.30.161/32 {
        secret          = rS4aq1)pN
        shortname       = NAS1
}

client xx.yy.30.162/32 {
        secret          = rS4aq1)pN
        shortname       = NAS2
}

......

proxy.conf

home_server NAS1 {
        type = coa
        ipaddr = xx.yy.30.161
        port = 3799
        secret = rS4aq1)pN
        coa {
                irt = 2
                mrt = 16
                mrc = 5
                mrd = 30
        }
}


home_server NAS2 {
        type = coa
        ipaddr = xx.yy.30.162
        port = 3799
        secret = rS4aq1)pN
        coa {
                irt = 2
                mrt = 16
                mrc = 5
                mrd = 30
        }
}


home_server_pool mobile_discon_pool {
       home_server = NAS1
       home_server = NAS2
}


......

coa

listen {
        type = coa
        ipaddr = 10.0.10.25
        port = 3799
        server = coa
}

server coa {

        recv-coa {

                update control {

                               Home-Server-Pool  := mobile_discon_pool
                }
                ok

        }

        send-coa {
                ok
        }

}


Thank you 
Koos 

(null)
Kind Regards
Koos Myburgh
Network Engineer
RSAWEB Internet Services



More information about the Freeradius-Users mailing list