opensocks

command module
v1.5.9 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: MIT Imports: 4 Imported by: 0

README

Opensocks

A socks5 proxy over websocket.

Travis Go Report Card image image image

Usage

Usage of /main:
  -k string
        encryption key (default "6w9z$C&F)J@NcRfUjXn2r4u7x!A%D*G-")
  -l string
        local address (default "127.0.0.1:1080")
  -s string
        server address (default ":8081")
  -scheme string
        scheme ws/wss (default "wss")
  -bypass
        bypass private ip
  -S    server mode
  -obfs obfuscation mode

Run

Run client

./opensocks-linux-amd64 -s=YOUR_DOMIAN:8081 -l=127.0.0.1:1080 -k=123456 -scheme ws -obfs

Run server

./opensocks-linux-amd64 -S -k=123456 -obfs

Docker

Run client

docker run -d --restart=always  --network=host \
--name opensocks-client netbyte/opensocks -s=YOUR_DOMIAN:8081 -l=127.0.0.1:1080 -k=123456 -scheme ws -obfs

Run server

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

Reverse proxy server

add tls for opensocks server(8081) via nginx/caddy(443)

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