I set up 2 VPNs on VyOS (crux), PPTP and L2TP. Both are configured with radius server. Everything works as it should except one thing. Is there any possibility to assign static IP’s for certain VPN clients ?
There is directive client-ip-pool responsible for ip address assigning, but when many clients are connected I receive different IP address everytime I connect to VPN.
You need to add the attribute Framed-IP-Address on Radius Server only for these 2 accounts.
If RADIUS server does not send Framed-IP-Address then to clients will allocate IP from defined ip address pool on l2tp server.