fixed two small errors (#31)

Former-commit-id: 2fc8aed266b473e3a655ae077bf87491698e7eb6
Former-commit-id: e2edf693e0079cbc8bc90981287bcf3209361dd9 [formerly 3f45f34434dcda2d61cfa3614516b0ed0bd8c58f] [formerly 9ec7349b4fd5d611a573e7c8c583a3658c8a55f0 [formerly 0e4715972134156cef5b349f02bcd872ff418819 [formerly 0e4715972134156cef5b349f02bcd872ff418819 [formerly 0e4715972134156cef5b349f02bcd872ff418819 [formerly fa3836ba223ba90881d735a48dfa39394c7de6ab]]]]]
Former-commit-id: 4bd300ff9dd9cd1b963d4b57b924bb0e56fc1438 [formerly 50f39f8cb94ee502a44a73cc2569b0754eb62417]
Former-commit-id: 95871ea7db200cbe4103b0fd66a6947b9f496813
Former-commit-id: 690d271bf8963ff5c8bbf918ec56517c5f50652e
Former-commit-id: 67ecbbb71b320c9603ba86c6af79326c389e7b44
Former-commit-id: 8007ae8406265377087046f353836af0388a07f1 [formerly 8423f21822d485b764f85a0d0e0ecb7b4cc3cd27]
Former-commit-id: e72fd82005883e21e1e732a4ff0816fec59576af
This commit is contained in:
0xflotus 2019-10-31 11:29:38 +01:00 committed by Erèbe - Romain Gerard
parent d22cd7f265
commit 0f1eb05216

View file

@ -17,7 +17,7 @@ My inspiration came from [this project](https://www.npmjs.com/package/wstunnel)
* Static tunneling (TCP and UDP) * Static tunneling (TCP and UDP)
* Dynamic tunneling (socks5 proxy) * Dynamic tunneling (socks5 proxy)
* Support for http proxy (when behind one) * Support for http proxy (when behind one)
* Support for tls/https server (with embeded self signed certificate, see comment in the example section) * Support for tls/https server (with embedded self signed certificate, see comment in the example section)
* **Standalone binary for linux x86_64** (so just cp it where you want) * **Standalone binary for linux x86_64** (so just cp it where you want)
* Standalone archive for windows * Standalone archive for windows
@ -61,7 +61,7 @@ On your remote host, start the wstunnel's server by typing this command in your
``` ```
wstunnel --server ws://0.0.0.0:8080 wstunnel --server ws://0.0.0.0:8080
``` ```
This will create a websocket server listenning on any interface on port 8080. This will create a websocket server listening on any interface on port 8080.
On the client side use this command to forward traffic through the websocket tunnel On the client side use this command to forward traffic through the websocket tunnel
``` ```
wstunnel -D 8888 ws://myRemoteHost:8080 wstunnel -D 8888 ws://myRemoteHost:8080