Radius NAS-IP-Address attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux