WG Tunnel in proxy mode
Android runs one VPN at a time. In its proxy mode, WG Tunnel runs without a VPN, and Datapavan can send your apps through it.
These steps assume WG Tunnel already works for you as a VPN.
Turn on proxy mode
- Open the “Settings” tab.
- Tap “App mode” and choose “Local proxy”.
- Open the “Tunnels” tab.
- Turn on the switch at the end of your tunnel’s row.
Its proxy then listens on this phone at 127.0.0.1, port 25344.
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 can ask for a user name and a password. Set the ones Datapavan shows when it finds the proxy. Then other apps on this phone cannot use it.
- Open the “Settings” tab.
- Tap “App mode”.
- Under “Proxy credentials”, fill in “Username” and “Password”.
What it asks for
It asks to show notifications.
On Android 17 it asks for the local network permission. Datapavan does not need that for its proxy, which is on this phone.
Back to VPN mode
- Open the “Settings” tab.
- Tap the arrow at the end of “App mode” and choose “VPN”.
When WG Tunnel runs as a VPN again, Android turns Datapavan’s VPN off: only one VPN runs at a time.
Read from the source code of WG Tunnel, version 5.8.2.
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 WG Tunnel: