configure pptp vpn using freeradius as a authenticator

Alan DeKok aland at
Mon Jun 12 15:25:35 CEST 2017

On Jun 12, 2017, at 5:57 AM, elahe jahani <elahe.jahani91 at> 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 port 47804, id=118,
> length=63
>    Service-Type = Framed-User
>    Framed-Protocol = PPP
>    User-Name = "Deg"
>    Calling-Station-Id = ""
>    NAS-IP-Address =
>    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.

More information about the Freeradius-Users mailing list