Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heiher/sockstun
A simple and lightweight VPN over socks5 proxy (tun2socks) for Android.
https://github.com/heiher/sockstun
android high-performance ipv4 ipv6 low-overhead socks5 tcp tun2socks udp vpn
Last synced: about 19 hours ago
JSON representation
A simple and lightweight VPN over socks5 proxy (tun2socks) for Android.
- Host: GitHub
- URL: https://github.com/heiher/sockstun
- Owner: heiher
- License: mit
- Created: 2023-02-15T05:30:00.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-24T16:28:52.000Z (2 months ago)
- Last Synced: 2025-01-27T05:44:07.688Z (8 days ago)
- Topics: android, high-performance, ipv4, ipv6, low-overhead, socks5, tcp, tun2socks, udp, vpn
- Language: Java
- Homepage:
- Size: 729 KB
- Stars: 342
- Watchers: 11
- Forks: 82
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: License
Awesome Lists containing this project
README
# SocksTun
[![status](https://github.com/heiher/sockstun/actions/workflows/build.yaml/badge.svg?branch=master&event=push)](https://github.com/heiher/sockstun)
A simple and lightweight VPN over socks5 proxy for Android. It is based on a high-performance and low-overhead [tun2socks](https://github.com/heiher/hev-socks5-tunnel).
[](https://github.com/heiher/sockstun/releases)
[](https://f-droid.org/packages/hev.sockstun)## 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:
```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
makehev-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
* **hev** - https://hev.cc
* **ziqi mo** - https://github.com/mosentest## License
MIT