how to set static ip for openvpn client
Posted: Wed Sep 09, 2015 3:45 am
In the man page of openvpn it was mentioned that in order to create static ip 10.8.0.2 for a client with common name "CLIENT1", a file named "CLIENT1" (Same as common name) needs to be created in the client config directory. And in the file needs to be added. My client is running windows. When i start using this configuration, i am getting Can anyone highlight the syntax of ifconfig-push and why 10.8.0.3 is added to it? By the way if i replace 10.8.0.3 with 255.255.0.0 (my netmask), client is running perfectly. Thank you
Code: Select all
ifconfig-push 10.8.0.2 10.8.0.3
Code: Select all
"offset is outside the bounds error"