From 8e54855bf953b9d08fff893a418cc5f39f9de1d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Er=C3=A8be=20-=20Romain=20Gerard?= Date: Sun, 13 Jan 2019 19:16:10 +0100 Subject: [PATCH] Update README.md Former-commit-id: 5795d50002174b6531cf80290cfd2aa6ebc07a55 Former-commit-id: a8c45e08120b7a7106d773dd4df9fbd82c472911 [formerly 582f8b5d9a0b84f0345ccd2d5ed5d0546c48ea5d] [formerly d6c0c1e892650d294af88d30e28ef9867ce4e46e [formerly 39f6449047947c6819c61a2e98c87a896857f820 [formerly 88c05db1de3d6def1f2752af7883627e69382fa6] [formerly 39f6449047947c6819c61a2e98c87a896857f820 [formerly 88c05db1de3d6def1f2752af7883627e69382fa6] [formerly 88c05db1de3d6def1f2752af7883627e69382fa6 [formerly 9abab2f77f698c46ddabfb42e9235065a3780d38]]]]] Former-commit-id: e39db8cbe9a6afcf44f8ffdea802ed0f772b88ed [formerly be0544ace7efb86a037e40f94568b1b288492366] Former-commit-id: 3e983f72cc1a3c93a53ff0ff55e3c0590081b2e1 Former-commit-id: 198cf88411cd36aee3c755a451314bac345650ed Former-commit-id: bc9ab3888f965bdc6478f7a21c8e74bb7753643b Former-commit-id: fb50bcdb637bbca0f2bf59e78a578976cccf7405 [formerly 917aaaff2a85b221be32ad699b76b67ecc099cb5] Former-commit-id: 5ed8db3610fb92a00dcd72c6e648498d5a030f28 --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 66b2905..121a393 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,12 @@ This command will create a sock5 server listenning only on loopback interface on Ex: With firefox you can setup a proxy using this tunnel by settings in networking preferences 127.0.0.1:8888 and selecting socks5 proxy +### As Proxy Command for SSH +You can specify `stdio` as source port on the client side if you wish to use wstunnel as part of a proxy command for ssh +``` +ssh -o ProxyCommand="wstunnel -L stdio:%h:%p ws://localhost:8080" my-server +``` + ### When behind a corporate proxy An other useful example is when you want to bypass an http proxy (a corporate proxy for example) The most reliable way to do it is to use wstunnel as described below