multiple NAS behind multiple NAT with one radius server.
甄鹏
snan4love at hotmail.com
Tue Mar 13 15:01:04 CET 2012
Hello Everybody:
Recently I am working on a project, it requires a radius server(which i use freeradius for sure) that could be shared by multiple NASes which are behind multiple NAT.(one NAS to one NAT)
But not really easy for me, i have the following problem.
I use freeradius+mysql, for the radius.nas table,it requires nasname which must be(?) the IP address of the NAS,but NAS only have a private IP address like 192.168.***.***,i know after through the NAT,it will get a public IP address, but the IP address is dynamics,so How could I set up the nasname for radius.nas table??? I read the clients.conf file, it said the nasname could be a hostname,but it also said the radius server will only inquire the DNS server for one time,so what will happen if the router of NAT rebooted and got a different IP address??
Is there anyway could solve my problems?
Right now,what i am doing is I said the nasname as 0.0.0.0 and netmask 0 (in clients.conf),two different NAS could be connect to the radius server? is this a solution?
Thank you in advanced.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20120313/742fad62/attachment.html>
More information about the Freeradius-Users
mailing list