Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link to using SSH proxy (SSH tunnel) as an alternative #88

Merged
merged 1 commit into from
Dec 15, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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