SkillAgentSearch skills...

V2pn

v2pn, a very simple but usable Android vpn app based on https://github.com/v2fly/v2ray-core and https://github.com/xjasonlyu/tun2socks

Install / Use

/learn @marco20240618/V2pn
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

v2pn

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.

ba04747e3019293a93883fc5576b1ef

a628fd2866bcfbb058d17f57383e4b4

installation:

  1. use gomobile to generate v2pn.aar from https://github.com/garymaxallen/vt
  2. put v2pn.aar in app/libs/vpn folder
  3. 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)

Get allowed apps

curl http://localhost:8080/v2pn/allowedlist

Get global vpn status

curl http://localhost:8080/v2pn/globalvpn

Get vpn running status

curl http://localhost:8080/v2pn/running

upload v2ray config.json file, must upload before connect to vpn

curl http://localhost:8080/v2pn/fileupload -F "filename=@config.json"

add app to allowed list

curl http://localhost:8080/v2pn/allowedlist -d "com.termux"

set vpn global or not

curl http://localhost:8080/v2pn/globalvpn -d "true"

curl http://localhost:8080/v2pn/globalvpn -d "false"

View on GitHub
GitHub Stars9
CategoryDevelopment
Updated2mo ago
Forks2

Languages

Java

Security Score

70/100

Audited on Jan 9, 2026

No findings