I've got this OpenVPN box and a Freeradius one for authentication and I need to set static ip addresses to my users. I'm doing so by pushing
Framed-IP-Address in the radius reply. The client authenticates successfully but my OpenVPn connection drops stating that
Since you are using --dev tun with a point-to-point topology, the second argument to --ifconfig must be an IP address. You are using something (255.255.255.0) that looks more like a netmask. (silence this warning with --ifconfig-nowarn)
Thats probably because (in a client-config directive) I would need to push like this
ifconfig-push 10.8.0.4 10.8.0.5 and the radius reply does not contain the gateway of the
What would you suggest me to do in this situation to make OpenVPN and Freeradius get along on this matter?
P.S. I know I can use client-config-dir but I really want to centralize things.