Skip to content

Commit

Permalink
feat(setup/httpproxy): proxy SSH connections through the HTTP proxy (#40
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jdimpson authored Mar 18, 2024
1 parent f20ff7b commit c75906b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup/connect-a-lan-device-to-gluetun.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ This is useful for some clients such as Chrome, Firefox or Kodi.
1. With your HTTP proxy client, connect to the Docker host (i.e. `192.168.1.10`) on port `8888`. You need to enter your credentials if you set them with `HTTPPROXY_USER` and `HTTPPROXY_PASSWORD`. Note that Chrome does not support authentication.
1. If you set `HTTPPROXY_LOG` to `on`, more information will be logged in the Docker logs.

The HTTP proxy server will also work as a an [RFC 2817-compliant](https://www.rfc-editor.org/rfc/rfc2817#section-5.2) CONNECT proxy, meaning you can tunnel protocol to arbitrary destination ports through it, not just HTTP.

- A good example of this is using it in conjunction with netcat (`nc`) and the OpenSSH command line client's [ProxyCommand](https://man.openbsd.org/ssh_config#ProxyCommand) option:
- `ssh -o 'ProxyCommand nc -X connect -x 192.168.1.10:8888 %h %p' ssh-server.example.org`
- PuTTY can also [use CONNECT proxies](https://the.earth.li/~sgtatham/putty/0.80/htmldoc/Chapter4.html#config-proxy).

## Shadowsocks proxy

1. Setup a Shadowsocks proxy client, there is a list of [ShadowSocks clients for **all platforms**](https://shadowsocks.org/doc/getting-started.html#getting-started)
Expand Down

0 comments on commit c75906b

Please sign in to comment.