
If there is a thread regarding this , please point me there.
My scenario:
an HP microserver running windows home server 2011 as OpenVPN server (couldn't get OpenVPN to work on ubuntu) on 192.168.2.50 , my internal lan is 192.168.2.0 , DHCP handled by the adsl router
windows pc connecting to the OpenVPN server , in the office my subnet is 192.168.222.0
The virtual range that Openvpn hands out it's the default one 10.8.0.0 , with the server talking 10.8.0.1
Everything works, my only problem is that I can't reach behind the OpenVPN server. I want to be able to access from 192.168.222.53 (my office pc) >trough the OpenVPN tunnel/server 10.8.0.1 > machines on my home subnet ex: 192.168.2.40
I thought it will all be down to routing.
This is what I used to get my Openvpn setup going the first time : https://community.openvpn.net/openvpn/w ... tesandKeys
To fix my current issue, I looked at this: http://www.secure-computing.net/wiki/in ... PN/Routing and briefly a this http://backreference.org/2009/11/15/openvpn-and-iroute/ , but couldn't get it to work
What I have done
- on the "server.ovpn" config, on the OpenVPN server, I've added :
route 192.168.222.0 255.255.255.0
push "route 192.168.2.0 255.255.255.0"
push "route 192.168.222.0 255.255.255.0"
client-to-client
I've restarted the "open vpn" service after saving the config
I've also started the "Routing and remote access" service on the server
- on the client machine , I have edited the ".ovpn" file and added
iroute 192.168.2.0 255.255.255.0
saved the file, removed the connection from the OpenVPN Client and re-added
I could not get a connection after this, it would come up with an error saying OpenVPN tried to connect but quickly exited...
Any idea what I'm doing wrong? How do I get it working?