Datapavan
English

SagerNet in proxy mode

Android runs one VPN at a time. In its proxy mode, SagerNet runs without a VPN, and Datapavan can send your apps through it.

These steps assume SagerNet already works for you as a VPN.

Turn on proxy mode

  1. Open the menu in the top corner of its screen and tap “Settings”.
  2. Under “App Settings”, tap “Service Mode” and choose “Proxy only”.
  3. Go back to its main screen.
  4. Tap its round start button, which a screen reader calls “Connect”.

Its proxy then listens on this phone at 127.0.0.1, port 2080.

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

  1. Open the menu in the top corner of its screen and tap “Settings”.
  2. Under “App Settings”, tap “Service Mode” and choose “VPN”.

When SagerNet runs as a VPN again, Android turns Datapavan’s VPN off: only one VPN runs at a time.

Read from the source code of SagerNet, version 0.8.1-rc03.

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 SagerNet: