i have a question about Routing Local Network to VPN, i hope that this is possible.
My scenario:
- OpenVPN Server on rented vServer
- Win10 PC with special Software behind AVM Router 100/100 MBIT (Client1, Lan 192.168.178.50, VPN 10.80.1.6)
- 3 Clients (Win10 Laptops on different locations) - (Client 2-4, 10.80.1.x)
All devices are connected to the vpn server.
The Laptops use a RDP Connection to the PC (Client 1) - The Clients connect the RDP about the 10.80.1.6 Address, works great.
Now my next Step, on the PC Client 1 is a Harddrive that i share as a network drive share connection, but this work only (on the other clients) when connecting to IP 10.80.1.6 (and only when im turn off the Client1 Firewall), but i want to route the Local Network (192.168.178.x) from Client1 to the other clients, so they can use the Local IP 192.168.178.50 from Client 1 and Connect to the network drive share about 192.168.178.50 and not 10.80.1.6.
For better understanding , i have a picture:
My Server.conf:
port 1194
proto udp
dev tun0
ca ./zertifikat/ca.crt
cert ./zertifikat/server-cert.crt
key ./zertifikat/server-cert.key
dh ./zertifikat/dh2048.pem
server 10.80.1.0 255.255.255.0
ifconfig-pool-persist ./status/ipp.txt
status ./status/vpn-status.log
log ./status/vpn-log.log
client-to-client
keepalive 10 120
comp-lzo
verb 6
client-config-dir ccd
persist-key
persist-tun
My Client Conf:
client
dev tun0
proto udp
remote 1xx.2xx.1xx.1xx 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client1.crt
key client1.key
ns-cert-type server
comp-lzo
verb 3
So, is it possible that all Clients (2-4) cann connect to the network drive share on client1 ?