Skip to content

Commit

Permalink
Merge pull request #88 from clue-labs/ssh-proxy
Browse files Browse the repository at this point in the history
Link to using SSH proxy (SSH tunnel) as an alternative
  • Loading branch information
clue authored Dec 15, 2018
2 parents f60ae62 + 404ecb3 commit 3935ff4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 3935ff4

Please sign in to comment.