/sockstun

A simple and lightweight VPN over socks5 proxy (tun2socks) for Android.

Primary LanguageJavaMIT LicenseMIT

SocksTun

A simple and lightweight VPN over socks5 proxy for Android. It is based on a high-performance and low-overhead tun2socks.

Features

  • Redirect TCP connections.
  • Redirect UDP packets. (Fullcone NAT, UDP over TCP, works with hev-socks5-server only)
  • Simple username/password authentication.
  • Specifying DNS addresses.
  • IPv4/IPv6 dual stack.
  • Global/per-App modes.

How to Build

git clone --recursive https://github.com/heiher/sockstun
cd sockstun
gradle assembleDebug

Server side

git clone --recursive https://github.com/heiher/hev-socks5-server
cd hev-socks5-server
make

hev-socks5-server conf.yml
main:
  workers: 4
  port: 1080
  listen-address: '::'

misc:
  limit-nofile: 65535

Dependencies

Contributors

License

MIT