Suppose you want to make a vpn with OpenVPN and you want the clients to be able to access each other.
There's one common problem I encountered and I just want to share the solution again, though I found it somewhere-on-the-internets(tm).
Problem: Windows doesn't allow to set the network location to "home" or "work".
Cause: Windows doesn't "recognize" the network in some way because there's no default route to the internet.
But would we want to add one? In case we wanted to: problem solved :)
In case not, we do it anyways, but tell Windows to not use it by assigning a very high "cost" to this route.
This has to be done in the configuration in the VPN server and looks like this:
push "route-metric 50"
push "route 0.0.0.0 0.0.0.0"
Hope I could help someone :)
No comments:
Post a Comment