user from particular NAS-IP-Address

Pete Ashdown pashdown at xmission.com
Sat May 25 22:31:12 CEST 2013


I'm trying to restrict a guest user from a single NAS-IP-Address via "users"
and I can't get it to work.

Doesn't work:

test	NAS-IP-Address == "127.0.0.1"
	Auth-Type := Accept

test	NAS-IP-Address == "127.0.1.1"
	Auth-Type := Accept

Works, but it isn't restricted by NAS:

test   Auth-Type := Accept

I've also tried "Calling-Station-ID == 127.0.1.1" to no avail.


Also, how would I do this for a group of NAS IP addresses?  Is it possible to
assign them to a group in "clients.conf" that can be later checked against in
"users"?  Where is the documentation of what can be tested against in the
"users" file?


More information about the Freeradius-Users mailing list