Proxying by Nas-Ip-Address (was Proxy.conf regex )

Arran Cudbard-Bell A.Cudbard-Bell at sussex.ac.uk
Mon May 7 16:05:50 CEST 2007


Andrea Cerrito wrote:
> Solved, thank you.
> For many NAS, the NAS-Ip-Address can be checked this way?
>
> DEFAULT NAS-Ip-Address =~ "1.2.3.", Proxy-To-Real = "test.com"
>
> To match all network 1.2.3.0?
> I mean, can I check the ip address for the NAS as a regexp?
>
> Thank you 
>   
DEFAULT NAS-Ip-Address =~ "^1\.2\.3\.", Proxy-To-Realm := "test.com"

Proxy-To-Realm should be added as a check item, else it won't work...





More information about the Freeradius-Users mailing list