Set up local proxy and tunnel it through a profile #1324
Unanswered
EasternTime
asked this question in
Q&A
Replies: 1 comment
-
|
I have found solution for the problem 3: #1142 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I don't use my profile as VPN, instead I use it in Tun mode and let only selected processes through using
processName. Recently I noticed that some of my programs work poorly withprocessName, but fine through http/socks5 proxy. Thus, my goal is to run http proxy server locally, and run traffic from it throuh my profile.In
Basic Settings -> Common -> Custom InboundI set up a proxy server:{ "inbounds": [ { "listen": "127.0.0.1", "listen_port": 1081, "tag": "httpproxy-in", "type": "http" }, { "listen": "127.0.0.1", "listen_port": 1082, "tag": "socks5-in", "type": "socks" } ] }I can see that the proxy server is actually up and running correctly. However, if I try to use these inbounds everything that goes through these proxy are going to
direct, no matter which routing profile I choose.It may be corrected by adding this custom rule to
Routing Profile -> Edit -> Advanced tab:{ "action": "route", "outbound": "proxy", "inbound": ["httpproxy-in", "socks5-in"] }It's quite inconvinient since I have a lot of routing profiles, some of them are direct by default, some are proxy by default, with various rule sets.
I've got several questions.
Routing Profile -> Edit -> Advanced tab, but unable to edit them? Each time I have to export the profile, edit it and then re-import.Beta Was this translation helpful? Give feedback.
All reactions