cbeuw / Cloak-android

Android client of Cloak
Other
229 stars 32 forks source link

Connect openvpn via cloak plugin on random port #34

Open alexander-potemkin opened 1 year ago

alexander-potemkin commented 1 year ago

Thank you for the beautiful software!

I'm trying to repeat my desktop setup on Android and I struggle to understand how it works as a plugin to shadowsocks.

From what I see via logcat, once started, cloak as a plugin every time opens a different port for openvpn client:

time="2023-08-25T09:03:00Z" level=info msg="Listening on TCP 127.0.0.1:42101 for openvpn client"
<...>
time="2023-08-25T09:31:49Z" level=info msg="Listening on TCP 127.0.0.1:42571 for openvpn client

I can't see any way to have this fixed in the UI, nor have I found a way to get into the configs directly.

Any help would be much appreciated!

ruschecker commented 7 months ago

Hello. Faced with the same issue. Found it the same way =) According to explanations https://github.com/shadowsocks/shadowsocks-libev/issues/2760 It should forward from socks5 proxy to that port, but It won't work for me. Trying to find workaround.

Elpersonn commented 5 months ago

So then how is anyone supposed to use this without adb to find out the correct port?