Answer the question
In order to leave comments, you need to log in
How to let traffic bypass OpenVPN?
We have:
- A Windows 10 machine, has access to the network via Ethenet
- VDS server with an OpenVPN server raised
What do you need?
Because the connected OpenVPN client lets all traffic through itself (Through its virtual adapter raised), that is, the need to allow some programs to access the network bypassing OpenVPN.
To download torrents, I use the qBitTorrent program, in its settings you can select the network interface through which the download and distribution of traffic works, there are no problems with this, but there are other programs that need direct access to the network (Bypassing OpenVPN), these are, for example, some Online games.
How to force this or that program to use that network interface which I will tell?
I see a quick solution in that you can raise a local SOCKS5 proxy server and use the same Proxifier to make it go to the Internet through it.
But then the question is different, what solution to use for this? The same CCProxy does not have the ability to select a network interface to fumble through a proxy.
Possible questions:
- Why not raise a SOCKS5 (or Shadowsocks) server on a remote server and tell which programs to use it through Proxifier?
The fact is that when OpenVPN breaks, the network must disappear completely on the machine so that not a single program leaves through the real IP, this is done through the distinction between Public / Private network and firewall settings.
The programs I have chosen (Online Games and Torrents) will still work if OpenVPN is broken anyway.
Proxyfier can also sometimes crash, or you can accidentally close it, thereby creating the danger of leaking the real IP.
What can be done to solve this problem?
Answer the question
In order to leave comments, you need to log in
For example, in 3proxy
socks -e1.2.3.4
uses 1.2.3.4 as the external (outgoing) address. But there can be problems with game proxification, especially if UDP is used. It is better to find a list of used networks in the game documentation (usually they are published) and register static routes to game servers to the desired network interface via
route add -p
static routes with metrics. and remove redirect-gateway from the OVPN client settings
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question