Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

sockstun

> 数据库
Open source

A lightweight, fast and reliable tun2socks for Android

719 stars0 likes0 views
WebsiteGitHub

About

A lightweight, fast and reliable tun2socks for Android

English | Русский

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-in-UDP and UDP-in-TCP [^1])
  • Simple username/password authentication.
  • Specifying DNS addresses.
  • IPv4/IPv6 dual stack.
  • Global/per-App modes.

How to Build

Fork this project and create a new release, or build manually:

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

Socks5 Server

UDP relay over TCP

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

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

misc:
  limit-nofile: 65535

UDP relay over UDP

Any socks5 server that implements the CONNECT and UDP-ASSOCIATE methods of RFC1928.

Dependencies

  • HevSocks5Tunnel - https://github.com/heiher/hev-socks5-tunnel

Contributors

  • claude - https://github.com/claude
  • hev - https://hev.cc
  • linsui - https://github.com/linsui
  • nikita nikitenko - https://github.com/quadronick
  • xapitonov - https://github.com/xapitonov
  • ziqi mo - https://github.com/mosentest

License

MIT

[^1]: See protocol specification. The hev-socks5-server supports UDP relay over TCP.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javaandroidhigh-performanceipv4ipv6

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库