I've got a small Linux VPS which I want to setup as a VPN to benefit of better networking at a different datacenter, without the need to move our servers.
I've followed the tutorial on:
https://help.ubuntu.com/14.04/serverguide/openvpn.html and I'm trying to connect to my openvpn server with Viscosity on windows server 2012 R2.
At first I was having some issues because I set the wrong subnet.
I checked the syslog file and found the following error
--server directive network/netmask combination is invalid
I fixed this by changing:
server 23.246.204.10 255.255.255.248
to
server 23.246.204.0 255.255.255.248
I was able to setup the vpn connection, but it assigned IP server 23.246.204.6 to my VPN and I only have access to IP's 23.246.204.10 to 23.246.204.15
I put it to: server 23.246.204.8 Then it said: --local addresses must be distinct from --ifconfig addresses
IP: 23.246.204.10 is set as listening IP.
How can I make my clients use IP 23.246.204.11 or another one up to 23.246.204.15?