v2pn, a very simple but usable Android vpn app based on https://github.com/v2fly/v2ray-core and https://github.com/xjasonlyu/tun2socks
It has http server api.
installation:
- use gomobile to generate v2pn.aar from https://github.com/garymaxallen/vt
- put v2pn.aar in app/libs/vpn folder
- gradlew.bat assembleDebug/installDebug
I'm an android amateur/rookie, only care about usability.
This app is very simple, only for personal use.
It doesn't have fancy GUI settings.
Change settings with curl Termux(https://github.com/termux/termux-app)
curl http://localhost:8080/v2pn/allowedlist
curl http://localhost:8080/v2pn/globalvpn
curl http://localhost:8080/v2pn/running
curl http://localhost:8080/v2pn/fileupload -F "filename=@config.json"
curl http://localhost:8080/v2pn/allowedlist -d "com.termux"
curl http://localhost:8080/v2pn/globalvpn -d "true"
curl http://localhost:8080/v2pn/globalvpn -d "false"