Edgars wrote:
i have the following situation - have public router (firewall) which
is making NAT to one local router. When user is connecting to that
local router, the request is being made from public router to Freeradius
server. Freeradius as NAS-IP-Address value becomes my local router's
IP (which is unreal). I'm checking this in authorize_check_query. Is
it possible to use not  '%{Nas-IP-Address}' variable but something like
'%{Host}' which is the IP of the public router?

The value is sent by the NAS in the NAS-IP-Address attribute (just like the NAS-Identifier attribute), so if you want something else in it, then you have to configure that on the NAS (if you can).
There's also a Client-IP-Address attribute added by freeradius, which contains the ip address the request came from, maybe you could also look at that one.


--
Regards,

Thor Spruyt
E: [EMAIL PROTECTED]
W: www.thor-spruyt.com
M: +32 (0)475 67 22 65
Bestel nu uw exemplaar van Operationele verkoop (Walter Spruyt -
Liesbeth Huysmans) via www.salesguide.be Ontdek de Telenet Hotspot
service op www.telenet.be/hotspots


- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to