I have a remote connection using OpenVPN.
My network is like this:
One PC should work as VPN Server, local IP is 192.168.2.2 and as you can see in the seetings VPN IP is 10.8.0.1 .
So when the client connect to the server antything is fine for this connection.
I can ping 10.8.0.1 and also 192.168.2.2 - both IPs of the server.
The remote client get the IP 10.8.0.10 and is also reachable by the VPN Server.
My problem is that I need also access an other PC in the 192.168.2.x net and don't know how to do this.
The command - push "route 192.168.2.0 255.255.255.0" - seems only to work for the VPN Server but not for the clients behind.
What are the right configs for?
key "E:\\Programme\\OpenVPN\\easy-rsa\\keys\\server.key" # This file should be kept secret
server 10.8.0.0 255.255.255.0
push "route 192.168.2.0 255.255.255.0"
keepalive 10 120