MatsuriDayo / nekoray

Qt based cross-platform GUI proxy configuration manager (backend: sing-box)
https://matsuridayo.github.io/
GNU General Public License v3.0
13.47k stars 1.26k forks source link

BUG: Don't proxy my pc (arch linux) #1502

Open FishDontExist opened 3 days ago

FishDontExist commented 3 days ago

Describe the problem

when i set the nekoray to system proxy, it doesn't work on most things, only somethings like firefox but not the whole system Expected behavior: I want it to proxy my whole pc Actual behavior: It doesn't proxy my pc correctly

How to reproduce

Provide helpful screenshots, videos, text descriptions, subscription links, etc.

log

If you have logs, please upload them. Please see the detailed steps for exporting logs in the documentation.

erius0 commented 2 days ago

As far as I'm aware there is no fixed standard for a system-wide proxy on Linux, and the "System proxy" option doesn't really work. Most programs will try to grab proxy settings from env variables (HTTP_PROXY, HTTPS_PROXY, etc.), but some will have their own way of defining a proxy connection.

If your goal is to route ALL traffic from your pc to a remote proxy, your best option would be to use TUN mode instead, which will basically route everything through the virtual network device created by nekoray.

You could also try setting the env variables mentioned above to your proxy address (default is http://localhost:2080/ on most recent version), and try to manually configure the programs that ignore those env variables, but if some program doesn't allow to manually set its proxy connection, then use the solution above.