hiddify / hiddify-next

Multi-platform auto-proxy client, supporting Sing-box, X-ray, TUIC, Hysteria, Reality, Trojan, SSH etc. It’s an open-source, secure and ad-free.
https://hiddify.com
Other
15.39k stars 1.42k forks source link

[FR] Allow switch between proxy and direct connect #1033

Open alrcatraz opened 1 month ago

alrcatraz commented 1 month ago

Feature description

Now, the hiddfy app will automatically start proxy when it is started, but sometimes we need direct connect, for instance, when we travel abroad, or when the router has set proxy. Comparing to just stop and restart the app, what about adding a function that allows users to switch between proxy mode and direct connect mode?

alrcatraz commented 1 month ago

I also really suggest to add this function to the Android version, and make it possible to be controlled via function like Mode and Routines in OneUI, so that it can be automatically switched.

papampi commented 1 month ago

Now, the hiddfy app will automatically start proxy when it is started...

How do you get it to auto connect on startup?

alrcatraz commented 1 month ago

现在,hiddfy 应用程序将在启动时自动启动代理......

如何让它在启动时自动连接?

Sorry, my fault. But I just want to say that probably we need to switch between Global Proxy, Rule Proxy and Direct connect.