Skip to content

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

License

Notifications You must be signed in to change notification settings

heiher/sockstun

Folders and files

NameName
Last commit message
Last commit date
Nov 24, 2024
Nov 24, 2024
Aug 15, 2024
Jul 18, 2024
Feb 15, 2023
Feb 15, 2023
Feb 15, 2023
Aug 27, 2024
Jul 18, 2024
Apr 17, 2024
Jun 30, 2023
Oct 7, 2023
Oct 7, 2023
Feb 15, 2023
Apr 17, 2024

Repository files navigation

SocksTun

status

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

Get it on GitHub Get it on F-Droid

Features

  • Redirect TCP connections.
  • Redirect UDP packets. (Fullcone NAT, UDP in UDP/TCP)
  • 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:

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

Socks5 Server

UDP relay over TCP

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

UDP relay over UDP

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

Dependencies

Contributors

License

MIT