Hi,
So i have my Ubiquiti Edgerouter which is acting as a open VPN server (let's call this internal network). At another place i have a OpenVPN client connecting to the VPN server (the client also has a network so let's call this external network). From the client i can access the internal network which is 10.10.0.X. The external network is 10.100.X.X. Is there a way i can access this range from the internal network while the VPN client is running if so what is required to do this ?
So i have found out that what i need is to is NAT the traffic according to
https://community.openvpn.net/openvpn/wiki/NatHack because i don't have access to the routers on the client side so i need to NAT the traffic.
I am confused what part i need to do from the above article on the Edgerouter, it seems i need to do some kind of routing on the edgerouter but i am not sure, also i need to do something on the client (windows btw).
So i was following this flow chart :
http://www.ircpimps.org/clientlan.png where i am at the bottom of the left corner.
Also the description here :
https://community.openvpn.net/openvpn/wiki/RoutedLans#ROUTESTOADDOUTSIDEOFOPENVPN gives me the idea that it won't work without NAT. Please correct if i am wrong.
Essentially what i want is to be behind the OpenVPN server on a PC (my local network) and access a device in the client's network preferably using DNS or hostnames.
Any help would be appreciated.
/donnib