From 404ecb38e2c5e0be6c24ce5d26b32c32f303665f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCck?= Date: Sat, 15 Dec 2018 17:07:16 +0100 Subject: [PATCH] Link to using SSH proxy (SSH tunnel) as an alternative --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index facfba7..e607b0e 100644 --- a/README.md +++ b/README.md @@ -953,6 +953,12 @@ Now you can simply use this SSH SOCKS server like this: $client = new Client('socks+unix:///tmp/proxy.sock', $connector); ``` +> As an alternative to requiring this manual setup, you may also want to look + into using [clue/reactphp-ssh-proxy](https://github.com/clue/reactphp-ssh-proxy) + which automatically creates this SSH tunnel for you. It provides an implementation of the same + [`ConnectorInterface`](https://github.com/reactphp/socket#connectorinterface) + so that supporting either proxy protocol should be fairly trivial. + ### Using the Tor (anonymity network) to tunnel SOCKS connections The [Tor anonymity network](https://www.torproject.org) client software is designed @@ -1033,6 +1039,12 @@ This project is released under the permissive [MIT license](LICENSE). which also provides an implementation of the same [`ConnectorInterface`](https://github.com/reactphp/socket#connectorinterface) so that supporting either proxy protocol should be fairly trivial. +* As an alternative to a SOCKS5 / SOCKS4(a) proxy, you may also want to look into + using an SSH proxy (SSH tunnel) instead. + You may want to use [clue/reactphp-ssh-proxy](https://github.com/clue/reactphp-ssh-proxy) + which also provides an implementation of the same + [`ConnectorInterface`](https://github.com/reactphp/socket#connectorinterface) + so that supporting either proxy protocol should be fairly trivial. * If you're dealing with public proxies, you'll likely have to work with mixed quality and unreliable proxies. You may want to look into using [clue/reactphp-connection-manager-extra](https://github.com/clue/reactphp-connection-manager-extra)