I have set up an OpenVPN network and I'd like to let every client in the network be able to connect to each other, ie. servers
188.8.131.52 should be able to communicate over VPN and clients (running on various platforms) with IPs
10.8.0.12 should able to connect to all servers.
I have already set up servers
10.8.0.2 running Ubuntu 14.04 x64 and they seem to work properly, but I can't get a client running Windows with IP
10.8.0.10 to connect to both servers - connections seem to timeout.
server.conf running on 10.8.0.1:
port 1194 proto udp dev tun ca ca.crt cert server.crt key server.key dh dh2048.pem server 10.8.0.0 255.255.255.0 ifconfig-pool-persist ipp.txt client-config-dir /etc/openvpn/staticclients client-to-client keepalive 10 120 comp-lzo persist-key persist-tun status openvpn-status.log verb 3
There's no static IP definition in
staticclients for the Windows client.
client.ovpn that I run on my Windows PC:
client dev tun proto udp remote serverx.startup.io 1194 resolv-retry infinite nobind persist-key persist-tun ca ca.crt cert client.crt key client.key ns-cert-type server comp-lzo verb 3
It connects properly, gets an IP assigned, but it can't connect to any IP in the network.
Here's the result of
route print -4 ran on the client:
IPv4 Route Table =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.17 10 10.8.0.8 255.255.255.252 On-link 10.8.0.10 276 10.8.0.10 255.255.255.255 On-link 10.8.0.10 276 10.8.0.11 255.255.255.255 On-link 10.8.0.10 276
What's wrong with my setup? Why I can't connect to the OpenVPN host and the second server from the client?