Set fixed IP with OpenVPN client
Is it possible to assign a fixed IP to an Openvpn client config?
My use case: I want to assign a fixed IP in the upper range of the Virtual IP address pool for Mobile VPN with SSL (e.g. 192.168.X.240) to some smartphone clients using Openvpn (so that I can assign specific policies on those source IP's).
I've tried add the following directive to the openvpn config on the client side
ifconfig-push 192.168.X.240 255.255.255.0
But the client still receives a dynamic IP from watchguard.
Is it possible to receive a static IP on client side & how can I achieve this?