Radrealy and dynamic-sql-clients
Hello List. I am using the dynamic-sql-clients example in my freeradius server. I am keying off the %{Packet-Src-IP-Address} of the NAS sending the packets to two separate virtual servers on the same host. The problem comes, when I wish to radrelay - I end up having to pick one or the other virtual server. I was just wandering if there was a way for me to proxy these packets to the correct virtual server based on the attributes in them, namely NAS-IP-Address? Perhaps to create another virtual server to handle those specific radrelay hosts and then proxy them... Kind Regards, Etienne Pretorius
Etienne Pretorius wrote:
The problem comes, when I wish to radrelay - I end up having to pick one or the other virtual server. I was just wandering if there was a way for me to proxy these packets to the correct virtual server based on the attributes in them, namely NAS-IP-Address?
Set Proxy-To-Realm: if (NAS-IP-Address == 1.2.3.4) { update control { Proxy-To-Realm := "foo" } } Alan DeKok.
participants (2)
-
Alan DeKok -
Etienne Pretorius