A lightweight proxy tool based on the WebSocket protocol
- Lightweight
- No configuration
- Wrap CDN
- Support SOCKS5/HTTP
git clone github.com/golangboy/wsproxy
cd client
go build .
./client -h
Usage of ./client:
-listen string
listen socks5 address (default ":1180")
-ws string
websocket server address (default "localhost:80")
cd server
go build .
./server -h
Usage of ./server:
-listen string
listen address (default ":80")
git clone github.com/golangboy/wsproxy
cd wsproxy
docker build -t wsproxy .
docker run -itd -p 1180:1180 -e ws=your_server:80 wsproxy
docker run -itd -p 80:80 wsproxy
docker pull golangboyme/wsproxy
docker run -itd -p 1180:1180 -e ws=your_server:80 golangboyme/wsproxy
docker run -itd -p 80:80 golangboyme/wsproxy
export all_proxy=socks5://localhost:1180
curl https://google.com -v