一个简单的基于 socks5 proxy
- 只实现 TCP
- 只使用RC4 加密通信
Pre-built binaries for common platforms are available at https://github.com/tluolovembtan/go-socks5/releases
Install from source
go get -u -v github.com/tluolovembtan/go-socks5
Start a server listening on port 8499
go-socks5 -p 123456 -debug true
Start a client connecting to the above server. The client listens on port 1080 for incoming SOCKS5 connections,
go-socks5 -p 123456 -l 127.0.0.1:1081 -socks 127.0.0.1:8499 -debug true