Good evening everyone,
I want to setup a "reverse VPN" scenario: office PC should connect to my home PC through the Internet allowing me to use office network when I need to work from home. Office PC is behind a firewall, and company does not provide a proper corporate VPN solution. I have admin access on the office PC, but no enterprise admin access (i.e. not able to configure office routers).
Trying to achieve this by setting up point-to-point static key routed connection
from my office PC
to home PC. Configs are below (simplified - I also use DynDNS, compression, reconnect and several dhcp-connect options).
Home PC (a.k.a. server, Windows machine, port forward set up on router):
dev tun
ifconfig 10.8.0.1 10.8.0.2
secret static.key
route 192.168.0.0 255.255.255.0
Office PC (a.k.a. network-sharing client, Windows machine, IP forwarding enabled in the registry, IP 192.168.0.100, subnet mask 255.255.255.0):
dev tun
remote <home router address> 1194
ifconfig 10.8.0.2 10.8.0.1
secret static.key
route 192.168.0.0 255.255.255.0
OpenVPN successfully establishes the connection, and I'm able to ping 10.8.0.2 from the home PC. However, I'm not able to ping 192.168.0.100. I'm also not able to ping any servers in the office network - which is what I'm basically trying to achieve.
I guess the usage scenario is pretty common, so I'm probably missing something obvious.
What did I miss? Will bridged connection work better for this scenario?
Any advise would be greatly appreciated.