diff --git a/README.md b/README.md index d200089..e3e2cb9 100644 --- a/README.md +++ b/README.md @@ -384,30 +384,31 @@ ssh -R80:0:8080 -o StrictHostKeyChecking=accept-new nokey@localhost.run ### Or using cloudflared cloudflared tunnel --url http://localhost:8080 --no-autoupdate ``` -Either tunnel will generate a new HTTPS-URL for you. Use this URL from your workstation (see below). +Either tunnel will generate a new HTTPS-URL for you. Use this URL on your workstation (see below). -Convert the requests to a simple TCP pipe: +A simple STDIN/STDOUT pipe via HTTPS: ```sh websocat -s 8080 ### and on the workstation use this command to connect: websocat wss:// ``` -Or run a Socks5 Proxy behind the HTTPS tunnel (using Gost instead of websocat): +Or run a Socks-Proxy (via HTTPS): ```sh +### On the server gost -L mws://:8080 ``` On the workstation: -Forward 2222 to server's 22. +Forward port 2222 to the server's port 22. ```sh gost -L tcp://:2222/127.0.0.1:22 -F 'mwss://:443' ``` -or make it a Socks5 Proxy: +or use it as a Socks-Proxy: ```sh gost -L :1080 -F 'mwss://:443' -### Test the Socks5 proxy: +### Test the Socks-proxy: curl -x socks5h://0 ipinfo.io ```