Hello there,
Brand new, so I introduce myself :
Young man of 49 years, born with the computer, but far not an expert in everything, so here looking for a sensitive soul to my queries.
I have 2 NAS :
- A SYNOLOGY DS214 on DSM 5.0 at home,
- A Western Digital My Book World Edition II White Light far, far away.
I aimed to use OpenVPN link to exchange data via File Station (for info).
So I have a local 192.168.1.0/24 192.168.1.1 255.255.255.0 configuration.
The IP DS214 is 192.168.1.250.
Remotely as well, so 192.168.1.0/24 192.168.1.1 255.255.255.0.
The IP MBWE is 192.168.1.252.
MBWE has the distinction of exchange under TCP protocol in OpenVPN.
I therefore reported the MBWE OpenVPN client configuration in the DS214 and ......... it works!!
Except ..........
When I activate the DS214 VPN configuration, I lose the ability to connect locally to it, normal, the remote IP plan comes to supplant the local IP plan!
It only remains for me to connect remotely from a PC outside my home to my DS214 to regain control.
If I remove the line
push "route 192.168.1.0 255.255.255.0"
the VPN connection is made again, but I can't see my IP MBWE is remained on the other side, normal.
So here FINALLY, my request :
How do I configure OpenVPN (Client ? Server?) to integrate remote MBWE IP (192.168.1.252) in the local subnet? Or have you another solution?
I hope I was clear in my explanations and a kind soul will help me.
Here enclosed my configurations :
Configuration DS214 local (client) :
client
dev tun
proto tcp
remote MY_PUBLIC_IP 1394
nobind
ca MY_CA.crt
cert MY_CERT.crt
key MY_KEY.key
comp-lzo
verb 3
Configuration MBWE remote (server) :
dev tun
dh dh1024.pem
ca ca.crt
cert OpenVPNserver.crt
key OpenVPNserver.key
port 1394
proto tcp
keepalive 10 120
push "route 192.168.1.0 255.255.255.0"
server 192.168.11.0 255.255.255.0
client-to-client
comp-lzo
persist-tun
persist-key
verb 3