Rascher, Markus wrote:
Hi All,
I have a problem with the radius-Attribute NAS-IP-ADDRESS. I use freeradius with pam_radius and a mysql-DB
If i want to ssh-login on the machine, freeradius runs, the nas-ip is 127.0.0.1. It's correct, but the database does not know 127.0.0.1. It knows the real ip and therefore my radcheck-stored-procedure does not work.
Can someone help? Is there a method to convert the 127.0.0.1 to the real ip? Nslookup?
Thanks
Markus
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Attribute you want is Packet-Src-IP-Address Gives you the source IP of he incoming packet . -- Arran Cudbard-Bell (A.Cudbard-Bell@sussex.ac.uk) Authentication, Authorisation and Accounting Officer Infrastructure Services | ENG1 E1-1-08 University Of Sussex, Brighton EXT:01273 873900 | INT: 3900