FlowerWrong / Tun2socks
Redirect tun flow to socks 5 in golang, support tcp and udp.
Stars: ✭ 356
Programming Languages
go
31211 projects - #10 most used programming language
Projects that are alternatives of or similar to Tun2socks
Goproxy
🔥 Proxy is a high performance HTTP(S) proxies, SOCKS5 proxies,WEBSOCKET, TCP, UDP proxy server implemented by golang. Now, it supports chain-style proxies,nat forwarding in different lan,TCP/UDP port forwarding, SSH forwarding.Proxy是golang实现的高性能http,https,websocket,tcp,socks5代理服务器,支持内网穿透,链式代理,通讯加密,智能HTTP,SOCKS5代理,黑白名单,限速,限流量,限连接数,跨平台,KCP支持,认证API。
Stars: ✭ 11,334 (+3083.71%)
Mutual labels: udp, socks5
Pingtunnel
ping tunnel is a tool that advertises tcp/udp/socks5 traffic as icmp traffic for forwarding.
Stars: ✭ 1,904 (+434.83%)
Mutual labels: udp, socks5
Blinksocks
A framework for building composable proxy protocol stack.
Stars: ✭ 587 (+64.89%)
Mutual labels: udp, socks5
asyncio-socks-server
A SOCKS proxy server implemented with the powerful python cooperative concurrency framework asyncio.
Stars: ✭ 154 (-56.74%)
Mutual labels: udp, socks5
Frpc Android
Android,安卓版frpc,一个快速反向代理,可帮助您将NAT或防火墙后面的本地服务器暴露给Internet。
Stars: ✭ 205 (-42.42%)
Mutual labels: udp, socks5
Nps
一款轻量级、高性能、功能强大的内网穿透代理服务器。支持tcp、udp、socks5、http等几乎所有流量转发,可用来访问内网网站、本地支付接口调试、ssh访问、远程桌面,内网dns解析、内网socks5代理等等……,并带有功能强大的web管理端。a lightweight, high-performance, powerful intranet penetration proxy server, with a powerful web management terminal.
Stars: ✭ 19,537 (+5387.92%)
Mutual labels: udp, socks5
fuso
一款体积小, 快速, 稳定, 高效, 轻量的内网穿透, 端口转发工具 支持多连接,级联代理,传输加密 (A small volume, fast, stable, efficient, and lightweight intranet penetration, port forwarding tool supports multiple connections, cascading proxy, and transmission encryption)
Stars: ✭ 1,132 (+217.98%)
Mutual labels: udp, socks5
gost
GO Simple Tunnel - a simple tunnel written in golang
Stars: ✭ 8,395 (+2258.15%)
Mutual labels: udp, socks5
Http Proxy To Socks
hpts(http-proxy-to-socks) is a nodejs client to convert socks proxy into http proxy
Stars: ✭ 296 (-16.85%)
Mutual labels: socks5
Computer Networking A Top Down Approach Notes
《计算机网络-自顶向下方法(原书第6版)》编程作业,Wireshark实验文档的翻译和解答。
Stars: ✭ 3,890 (+992.7%)
Mutual labels: udp
Simps
🚀 A simple, lightweight and high-performance PHP coroutine framework.
Stars: ✭ 318 (-10.67%)
Mutual labels: udp
Drop watch
Monitor reasons why and where linux drops UDP packets
Stars: ✭ 289 (-18.82%)
Mutual labels: udp
Laravel S
LaravelS is an out-of-the-box adapter between Swoole and Laravel/Lumen.
Stars: ✭ 3,479 (+877.25%)
Mutual labels: udp
Socks5
A full-fledged high-performance socks5 proxy server written in C#. Plugin support included.
Stars: ✭ 286 (-19.66%)
Mutual labels: socks5
Mirage Tcpip
TCP/IP networking stack in pure OCaml, using the Mirage platform libraries. Includes IPv4/6, ICMP, and UDP/TCP support.
Stars: ✭ 277 (-22.19%)
Mutual labels: udp
Udpspeeder
A Tunnel which Improves your Network Quality on a High-latency Lossy Link by using Forward Error Correction, possible for All Traffics(TCP/UDP/ICMP)
Stars: ✭ 3,699 (+939.04%)
Mutual labels: udp
README
more
How to use it?# install golang 1.10+, because of sync.Map
go get -u -v github.com/FlowerWrong/tun2socks
cd tun2socks
go get ./...
cp config.example.ini config.ini
# edit it for free
sudo go run cmd/main.go -h
sudo go run cmd/main.go -v
sudo go run cmd/main.go -c=config.ini
Note
- For darwin and linux, you should use netstack smart branch.
- For windows user, you should use netstack master branch.
Support operating system.
- [x] macOS
- [x] linux
- [x] Windows Vista and above support with tap-windows6, download link, please use netstack master branch.
- [x] Raspberry Pi support
- [x] android support with root
USR2
signal. Not support windows.
Hot reload config with Support route
, udp.proxy
, proxy
, pattern
and rule
, see config.example.ini.
sudo kill -s USR2 $PID
NOTE: go run
not support kill command signal.
As a static library
See c api wiki.
Windows build need to install git + tdm-gcc.
TODO
- [ ] gui
- [ ] ipv6 support
Thanks
- thanks xjdrew/kone for dns fake mode
- thanks yinghuocho/gotun2socks for udp <-> socks5 tunnel
- thanks songgao/water for tun io on many platform
- thanks google/netstack for tcp/ip stack
- thanks google/gopacket for pack/unpack ip package
- thanks miekg/dns for dns parser and server
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].