N
N
Nirr2018-04-16 23:00:29
openvpn
Nirr, 2018-04-16 23:00:29

How to make telegram ↔ local proxy ↔ VPN ↔ internet?

1. I bought a VPN and successfully connected to it through the OpenVPN client under Windows 10.
2. By default, all my traffic goes through the VPN.
3. I need only the traffic of the Telegram Desktop program to go through it.
4. I don't know how to do it. I tried google. I understood almost nothing.
5. Judging by what I understood, you need to:
a) Somehow raise the local proxy.
b) Make VPN work only with this proxy.
c) Enter the settings of this proxy in the telegram settings.
How to do it? Preferably in detail.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
N
Nasrula, 2018-04-17
@Nasrula

buy a proxy

S
Stalker_RED, 2018-04-17
@Stalker_RED

In the cart settings -> connection type ...

T
Timuridze, 2018-04-18
@Timuridze

1. You buy a vps (for example, I took a hetzner for 3-5 euros)
2. you raise Socks 5 there with Dante authorization (a script in 2 mouse clicks and 2 minutes
curl https://selivan.github.io/socks.txt | sudo bash
3. In the cart for android and desktop you prescribe socks 5 proxy settings
4. You can leave vpn.

V
Vladislav Biryukov, 2018-04-28
@birykvlad

Good question, I will face it myself in the near future. I started looking, a similar question was already raised earlier on the Toaster - How to run a certain program through a VPN? (last answer).
And here it is shown in more detail how to register these routes in the .ovpn file config. Try.

I
Ilshatms, 2018-05-06
@Ilshatms

There is an easier option. Edit the ".ovpn" openvpn client config that is used to connect in win 10. Add the following there:

route-nopull
route site1.ru 
route site2.ru
route site3.ru

where site1-3 is the url of the desired resource that you want to send through the openvpn server. The rest of the traffic will run through the provider. If you are specifically interested in the cart, then you can reflect the subnet for telegram.org:
route-nopull
route 149.154.164.0 255.255.252.0

Check.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question