Skip to content
forked from golangboy/wsproxy

A lightweight proxy tool based on the WebSocket protocol

Notifications You must be signed in to change notification settings

ygao0928/wsproxy

 
 

Repository files navigation

📖 Introduction

A lightweight proxy tool based on the WebSocket protocol

🚀 Features

  • Lightweight
  • No configuration
  • Wrap CDN
  • Support SOCKS5/HTTP

🔨️ Build

git clone github.com/golangboy/wsproxy

Client

cd client
go build .
./client -h
Usage of ./client:
  -listen string
        listen socks5 address (default ":1180")
  -ws string
        websocket server address (default "localhost:80")

Server

cd server
go build .
./server -h
Usage of ./server:
  -listen string
        listen address (default ":80")

🐳 Docker

From Build

git clone github.com/golangboy/wsproxy
cd wsproxy
docker build -t wsproxy .

client

docker run -itd -p 1180:1180 -e ws=your_server:80 wsproxy

server

docker run -itd -p 80:80 wsproxy

From DockerHub

docker pull golangboyme/wsproxy

client

docker run -itd -p 1180:1180 -e ws=your_server:80 golangboyme/wsproxy

server

docker run -itd -p 80:80 golangboyme/wsproxy

💻 Test

export all_proxy=socks5://localhost:1180
curl https://google.com -v

About

A lightweight proxy tool based on the WebSocket protocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 95.3%
  • Dockerfile 3.3%
  • Shell 1.4%