AdguardTeam / AdguardForAndroid

Open bug tracker for Android version of AdGuard.
https://adguard.com/
1.36k stars 90 forks source link

Support Adguard Android itself to access the network through a proxy #5152

Open kakayikaka opened 10 months ago

kakayikaka commented 10 months ago

Issue Details

我是一名中国用户,使用 adguard 的 vpn 模式代理其他应用,再由 socks 代理 adguard 出站流量,其他应用都能正常访问。但是当我在 Adguard 内导入 https://raw.githubusercontent.com/ 上的规则时却失败了,因为我的网络在不代理的情况下无法访问这个网站,因此希望 Adguard 本身的流量也支持走下级代理。

---- translate:

I'm a Chinese user who uses AdGuard's VPN mode to proxy other apps, and then Socks proxies AdGuard outbound traffic, and other apps can be accessed normally. But when I imported the rules on the https://raw.githubusercontent.com/xxx within Adguard, it failed, because my network can't access the site without a proxy, so I want Adguard's own traffic to support a subordinate proxy as well

Proposed solution

希望与 windows 版本一样,让 adguard android 本身也支持通过代理访问网络: ---- translate Hopefully, as with the Windows version, AdGuard Android natively supports network access via a proxy:

image (1)

Chinese language screenshot ![image](https://github.com/AdguardTeam/AdguardForAndroid/assets/136681872/c57adb63-d091-4561-ad70-9deb275c25f9)

Alternative solution

No response

Versty commented 10 months ago

@kakayikaka Hi! Could you please explain in more detail your feature request?

On Android devices proxy can be configured in the system settings but exclusively for Wi-Fi network. Therefore, when you switch from one Wi-Fi network to another, there will be another proxy, or no proxy at all in case you switch to cellular.

kakayikaka commented 9 months ago

我之前的描述有些问题,我所谓的代理指的是安卓系统的 VPN 功能。目前我可以通过配置让其他 app 流量通过 adgrand 过滤后转发到 VPN,但是 adguard 本身的流量不会通过 VPN(设置中没有选择 adguard 是否通过代理的选项)

--- translate:

There is something wrong with my previous description, and by proxy I mean the VPN feature of Android. At the moment I can configure other apps to filter through adgrand and forward to the VPN, but adguard itself won't go through the VPN (there is no option to select whether adguard goes through a proxy in the settings)

image

huajizhige commented 8 months ago

Indeed, I also need the adguard body to connect to the proxy (because China’s Internet prohibits linking to YouTube)(Google translate)

Versty commented 8 months ago

@kakayikaka We have discussed this feature request and decided to leave it for a user vote. Put a thumb up emoji on the first message of this thread to vote for suggested feature.

huajizhige commented 7 months ago

Another point is that rule updates and other plug-ins need to be updated using a proxy server, otherwise the update may fail sometimes