Radius NAS-IP-Address attribute
Nikos Mavrogiannopoulos
nmav at gnutls.org
Fri May 8 12:39:19 PDT 2015
On Thu, 2015-05-07 at 22:55 +0800, Teki Ri wrote:
> Hi Nikos,
>
> My ocserv server is running on a Amazon EC2 instance, as you may know
> EC2 instances have 2 kind of IP address assigned, private IP and
> public IP. Commands executed from inside the OS such as ifconfig just
> return the private IP, on the other hand when you communicate with the
> internet, the public IP will be used. The NAS-IP-Address info of
> radius account data received from ocserv is always the private IP, but
> this NAS-IP-Address sending from other VPN services such as PPTP or
> L2TP is always the public IP.
It seems that the NAS-IP-Address was set by freeradius-client itself
using the IP used to connect with the radius server. I have some
untested patch in git master if you want to try.
regards,
Nikos
More information about the openconnect-devel
mailing list