i've setted up an openvpn server in my office where lan endpoints have 192.168.1.1/24; the server itself takes 10.8.0.1 and give to my home PC 10.8.0.6.
The server conf is this:
key server.key # This file should be kept secret
server 10.8.0.0 255.255.255.0
keepalive 10 120
tls-auth ta.key 0 # This file is secret
At my home i also have a lan with the same 192.168.1.1/24 configuration and my conf is:
remote xxx.yyy.www.zzz 1972
tls-auth ta.key 1
So at my home i've have 192.168.1.100 that is a NAS and in my office i've 192.168.1.100 that is the file server.
Actually i can reach openvpn server with remote desktop or with windows administrative share 10.8.0.1\c$.
How can I reach my office file server with a translated address like 10.8.0.100 and mapping shared folder when connected with openVPN client?
I'd like to see all my home local lan, surfing on the web with my home gateway but seeing all my office PC's and servers with translated address.
Is that possible?
Sorry for my bad english.