WSAGAScript icon indicating copy to clipboard operation
WSAGAScript copied to clipboard

Any idea on using a proxy?

Open GrieferPig opened this issue 4 years ago • 8 comments

image

Since I can't connect to Google Play using my local network, I decided to use a proxy to bypass the firewall.

First I launched V2Ray in windows, but it did not work because the proxy doesn't handle virtual network devices traffic.

Then I used Clash for android on WSA but there's no vpn component in the stock system so I downloaded one and moved it to /system/app, but unfortunately because of some really annoying android permission problem the vpn service cannot start.

Lastly I used my android phone, which is connected to a proxy and the Play store works fine on that phone, tethered network using a USB cable. Google's website is ping-able in adb shell, but still, the play store couldn't connect.

I really have no idea about using a proxy. Any idea on that?

GrieferPig avatar Nov 16 '21 13:11 GrieferPig

okay turns out you can just use the http proxy in the wifi settings just manually set up a HTTP port in clash and connect it using 127.0.0.1:ur port

GrieferPig avatar Nov 16 '21 18:11 GrieferPig

~~You should be able to use the uwp loopback function of Clash for Windows.~~ ~~But I did not test it, in theory this should work~~ this is false

shoucandanghehe avatar Nov 18 '21 15:11 shoucandanghehe

You should be able to use the uwp loopback function of Clash for Windows. But I did not test it, in theory this should work

From what I see, WSA is probably using a virtual network card rather than uwp's own network service, so the network traffic shouldn't go through uwp.

GrieferPig avatar Nov 19 '21 12:11 GrieferPig

okay turns out you can just use the http proxy in the wifi settings just manually set up a HTTP port in clash and connect it using 127.0.0.1:ur port

设置后子系统虚拟wifi直接就显示无网络连接了。

zyf2008Neptune avatar Feb 01 '22 07:02 zyf2008Neptune

我用tun也不行,YouTube都能用,就是谷歌不能登录。

zyf2008Neptune avatar Feb 01 '22 07:02 zyf2008Neptune

我用tun也不行,YouTube都能用,就是谷歌不能登录。

YT能用的话代理设置应该是没问题的 换个代理节点试试

GrieferPig avatar Feb 01 '22 09:02 GrieferPig

我用tun也不行,YouTube都能用,就是谷歌不能登录。

使用powershell这样设置下试试,我这设置后正常

 adb connect 127.0.0.1:58526 ; adb shell "settings put global http_proxy ``ip route list match 0 table all scope global | cut -F3``:1080"

ssxwcz avatar Feb 14 '22 07:02 ssxwcz

另外一个思路,启用Clash的Service Mode和TUN Mode以解决此问题。

parallelbgls avatar Sep 17 '22 07:09 parallelbgls