7 May
2008
7 May
'08
4:19 p.m.
Simone Vendemia wrote:
Unfortunately we need to rewrite the response returned to freeradius by the other server, in order to change the framed-ip-address and framed-route given by the proprietary radius with the data inserted previously in our freeradius sql database (mysql) through dialupadmin. Both the proxy and the proprietary server have the same usernames in their local db. Is that a possible setup? We've already searched online without much luck. Thank you in advance.
See the "rewrite" module in radiusd.conf. In 2.0, you can update any attribute using "unlang". post-proxy { ... if (proxy-reply:Framed-IP-Address) { update proxy-reply { Framed-IP-Address := 1.2.3.4 ... } } } Alan DeKok.