Giter Site home page Giter Site logo

wsproxy's Introduction

📖 Introduction

A lightweight proxy tool based on the WebSocket protocol

🚀 Features

  • Lightweight
  • No configuration
  • Wrap CDN

🔨️ 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 for proxy

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

🐱 Clash

proxies:
  - name: "wsproxy"
    type: socks5
    server: localhost
    port: 1180

add wsproxy to your proxy group

wsproxy's People

Contributors

golangboy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.