opensocks

command module
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2021 License: MIT Imports: 4 Imported by: 0

README

OpenSocks

OpenSocks is a socks5 proxy tool that helps you break the wall and see the world.

image image

Features

  • Support for the CONNECT command
  • Support for the ASSOCIATE command
  • Websocket for the transport layer

Docker

Run client

docker run -d --restart=always  --network=host \
--name opensocks-client netbyte/opensocks -s=YOUR_DOMIAN:443

Run server

docker run  -d --restart=always --net=host \
--name opensocks-server netbyte/opensocks -S

Run caddy for reverse proxy

docker run -d --restart=always --network=host \
-v /data/caddy/Caddyfile:/etc/Caddyfile \
-v /data/caddy/.caddy:/root/.caddy \
-e ACME_AGREE=true --name caddy abiosoft/caddy

Config Caddyfile

your.domain {
    gzip
    proxy / 0.0.0.0:8081 {
        websocket
        header_upstream -Origin
        header_upstream Host {host}
        header_upstream X-Real-IP {remote}
        header_upstream X-Forwarded-For {remote}
        header_upstream X-Forwarded-Port {server_port}
        header_upstream X-Forwarded-Proto {scheme}
    }
}

Cross-platform client

opensocks-gui

Deploy server to cloud

opensocks-cloud

License

The MIT License (MIT)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
common

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL