1
20.1 Legacy Series / Re: Assign static IP to OpenVPN user
« on: November 17, 2020, 03:10:04 pm »
Hi,
first of all your ip adresses are off. Any octet cannot be bigger than "255".
Then the syntax depend on the topology your openvpn server uses (default: topology net30) und what clients you are serving.
For topology net30 (default) and windows clients the following syntax is correct:
The valid ip adress pairs can be viewed by executing the openvpn binary on the windows client with the following parameter:
first of all your ip adresses are off. Any octet cannot be bigger than "255".
Then the syntax depend on the topology your openvpn server uses (default: topology net30) und what clients you are serving.
For topology net30 (default) and windows clients the following syntax is correct:
Code: [Select]
ifconfig-push x.y.z.105 x.y.z.106
The valid ip adress pairs can be viewed by executing the openvpn binary on the windows client with the following parameter:
Code: [Select]
"c:\Program Files\OpenVPN\bin\openvpn.exe" --show-valid-subnets