On Jun 12, 2017, at 5:57 AM, elahe jahani <elahe.jahani91@gmail.com> wrote:
when I try to connect vpn connection to vpn server I entrance with 691 error. and when I run freeradius in debug mode with -X. i see :
rad_recv: Access-Request packet from host 192.168.59.3 port 47804, id=118, length=63 Service-Type = Framed-User Framed-Protocol = PPP User-Name = "Deg" Calling-Station-Id = "192.168.69.2" NAS-IP-Address = 192.168.0.113 NAS-Port = 0
i.e. the VPN server doesn't send a User-Password.
I dont know why freeradius does not receive User-Password or CHAP-Password! whereas when I use radtest or radclient locally every things is ok and Access-Accept!!
Because the VPN server doesn't send User-Password. radclient does send User-Password. Fix the VPN server so that it sends User-Password. No amount of changing FreeRADIUS will fix the VPN server. Alan DeKok.