V
V
Vladimir Kivva2015-11-12 22:53:33
openvpn
Vladimir Kivva, 2015-11-12 22:53:33

How to feed Windows only 1 host through OpenVPN server?

There is an OpenVPN server, Windows connects to it. I want, for example, Windows to go to 2ip.ru through OpenVPN, to the rest of the Internet directly.
The idea is this:
push "route x.y.z.a"
But, as it turned out, Windows adds 30 to any OpenVPN route, and since the default route to the main gateway has a metric of 26, it still climbs through the local gateway. What can OpenVPN do?
It's clear that you can increase the metric for the main route in Windows by hand, but this is ugly.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alegzz, 2015-11-13
@alegzz

You can also reduce the tap to the interface. Or, through the up parameter, run a batch file in which to add a route

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question