wsdog
v1.0.0
Published
An encrypted proxy service program through websocket
Downloads
3
Readme
latest version
|version| |---| |metowolf/wsdog:latest|
environment variables
server
|name|value|
|---|---|
|KEY|wsdog
|
|METHOD|aes-256-gcm
|
|SERVER_HOST|0.0.0.0|
|SERVER_PORT|80|
|SERVER_PATH|/|
client
|name|value|
|---|---|
|URL|ws://127.0.0.1:80/
|
|KEY|wsdog
|
|METHOD|aes-256-gcm
|
|TIMEOUT|600|
|LOCAL_HOST|127.0.0.1|
|LOCAL_PORT|1080|
support methods
|method| |---| |none| |aes-128-gcm| |aes-192-gcm| |aes-256-gcm|
Pull the image
$ docker pull metowolf/wsdog
Start a server container
|key|value|
|---|---|
|HOSTNAME|example.com
|
$ docker run -p 80:80 -d \
-e KEY="example" \
-e METHOD="aes-128-gcm" \
--restart always --name=wsdog_server metowolf/wsdog
Start a client container
$ docker run -p 127.0.0.1:1080:1080 -d \
-e KEY="example" \
-e METHOD="aes-128-gcm" \
-e URL="ws://example.com/" \
-e LOCAL_HOST="0.0.0.0" \
--restart always --name=wsdog_client \
metowolf/wsdog yarn client
Test Using curl
$ curl -Lx socks5h://127.0.0.1:1080 www.google.com