1
20.1 Legacy Series / Re: Assign static IP to OpenVPN user
« on: February 03, 2021, 06:50:28 pm »
I've gotten this to work:
In Client Specific Overrides, enter, for example, 192.168.111.5/24 for IPv4 Tunnel Network. The client is given 192.168.111.5.
I also had "ifconfig-push 192.168.111.5 255.255.255.0;" in the Advanced box. Putting this in the Advanced box by itself doesn't seem to work. Also, when testing this, I restarted the server a few times after making changes, but not every time, so I'm not sure if restarting the server is needed or not.
In Client Specific Overrides, enter, for example, 192.168.111.5/24 for IPv4 Tunnel Network. The client is given 192.168.111.5.
I also had "ifconfig-push 192.168.111.5 255.255.255.0;" in the Advanced box. Putting this in the Advanced box by itself doesn't seem to work. Also, when testing this, I restarted the server a few times after making changes, but not every time, so I'm not sure if restarting the server is needed or not.