Shadowsocks in proxy mode
Android runs one VPN at a time. In its proxy mode, Shadowsocks runs without a VPN, and Datapavan can send your apps through it.
These steps assume Shadowsocks already works for you as a VPN.
Turn on proxy mode
- Open the menu in the top corner of its screen and tap “Settings”.
- If “Service mode” is not shown, tap the last row to show the rest.
- Tap “Service mode” and choose “Proxy only”.
- Go back to its main screen.
- Tap its round start button, which a screen reader calls “Connect”.
Its proxy then listens on this phone at 127.0.0.1, port 1080.
Stop it first: it changes this only while it is not connected.
In a work profile or another user on this phone, its port is higher by that user’s number. Datapavan looks there too.
Then come back to Datapavan. It finds the proxy by itself and offers to send your apps through it.
A password for its proxy
Its proxy cannot ask for a password. While it runs, any app on this phone can use it.
What it asks for
Its code asks for no permission in this mode.
Back to VPN mode
- Open the menu in the top corner of its screen and tap “Settings”.
- Tap “Service mode” and choose “VPN”.
When Shadowsocks runs as a VPN again, Android turns Datapavan’s VPN off: only one VPN runs at a time.
Read from the source code of Shadowsocks, version 5.3.4.
Not yet tried with Datapavan.
The words in quotes are as that version shows them.
Where each word in quotes is in the source code of Shadowsocks: