KaringX / karing-ruleset

Compatible with sing-box rule-set rules, remove advertising ACL rules, complete GFWList rules, geoip, geosite
https://github.com/KaringX/karing-ruleset
208 stars 20 forks source link

Separate traffic with a local port? #11

Open userisuserisuser opened 3 weeks ago

userisuserisuser commented 3 weeks ago

Is it possible to override rulesets and redirect traffic through Karing with a local port? i.e. 192.168.1.1:1234

userisuserisuser commented 3 weeks ago

Found a solution, leaving it here for googlers:

Enable "Syetem Proxy" and "Global" under it. Now you can pass your traffic to Karing through 127..0.0.1:3067 for HTTP(S) and Socks(4 and 5 but I seem to get better speed with 5).

I still don't know why this works though, I think UI needs some edit or have some explanation of settings, can't find them in FAQ or Tutorials.

What I initially thought was System Proxy is directing all the internet traffic through a system-wide proxy you set for your phone/etc, but apparently its the opposite.

Also the Rule/Global button under it, I thought "Rule" means to use the defined rulesets and "Global" means to override it, which is also not the case.