Click here to Skip to main content
15,884,472 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all,

Preliminar information:
* I have a NAS, which has a VPN server installed.
* I've prepared the server to work using OpenVPN as (given what I've seen in the Internet is the most secure nowadays).
* The client computer (the one that has to remotely connect to the NAS) has windows 10 pro installed.
* In the client computer I've installed "OpenVPN GUI" and configured it given the data from the server.

Once I connect to the VPN:
* The client computer can access the NAS resources perfectly (network drives...) which means the VPN is successfully working.
* The client computer stops seeing it's LAN neighbors (printer, other computers...).

The question:
What do I have to change to get the client computer to be able to connect to the VPN and at the same time to it's LAN?

Thank you very much for your time, help and patience.

What I have tried:

Given what I've seen in some forums, running the OpenVPN client as administrator, but this has not worked.
Posted
Updated 10-May-18 8:33am
v4

1 solution

Well, at the end it is much easier than what I thought.

You have to add a route in the routing table of the computer with the VPN Client.

in a command line write:

Route ADD -p IP_TO_THE_PRINTER MASK if INTERFACE_NUMBER

INTERFACE_NUMBER can be seen writing route print in the same command line.

Easy once you know it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900