Skip to content

Commit

Permalink
Link to inletsctl
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
  • Loading branch information
alexellis committed Feb 5, 2024
1 parent f20b0fd commit 834b5e4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ These settings are very well documented and you can find them in `/etc/ssh/sshd_

## How it works

First off, you'll want to create a new TCP tunnel server so that you can play with it and not worry about breaking anything:
First off, you'll want to create a new TCP tunnel server with [inletsctl](https://docs.inlets.dev/reference/inletsctl/) so that you can play with it and not worry about breaking anything:

```bash
inletsctl create \
Expand All @@ -55,6 +55,8 @@ inletsctl create \
--tcp
```

Fill in the other fields as prompted such as your access token. You can see the full [reference for inletsctl here](https://docs.inlets.dev/reference/inletsctl/).

DigitalOcean will email you an initial root password. Use it to log in and then change the `/etc/defaults/inlets` file and edit the line `--proxy-protocol=""` to `"--proxy-protocol=v2"`. We do this to ensure we get the remote IP address of the client send to sshmux.

Restart the server with `sudo systemctl daemon-reload && sudo systemctl restart inlets-pro`.
Expand Down

0 comments on commit 834b5e4

Please sign in to comment.