aboutsummaryrefslogtreecommitdiffstats
path: root/docs/relay.md
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2023-01-06 16:45:49 -0600
committerJP Dillingham <jp@dillingham.me>2023-01-06 16:45:49 -0600
commitef7112e8ed423041f1f0f15343c856bae73e3e38 (patch)
tree722a0e5ba39c92e23f56ba96e46d29b25bb74c8b /docs/relay.md
parent3a0e9729882d972886bd99382dca0b5ce9c97013 (diff)
downloadslskd-ef7112e8ed423041f1f0f15343c856bae73e3e38.tar.gz
more wip
Diffstat (limited to 'docs/relay.md')
-rw-r--r--docs/relay.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/relay.md b/docs/relay.md
index c78a0a7f..89f5bb3c 100644
--- a/docs/relay.md
+++ b/docs/relay.md
@@ -96,8 +96,8 @@ web:
We'll start the agent, which is running on a machine with IP address 192.168.1.25. We should see the following logs (among many others):
-```bash
-<todo: paste here>
+```
+[16:15:48 INF] Running in Controller relay mode. Listening for incoming Agent connections.
```
### Agent
@@ -109,11 +109,12 @@ The controller is running on a machine with IP address 192.168.1.53, and we want
We'll copy the API key and secret from the controller config, and lastly, we want the agent to receive the files downloaded by the controller, so we'll set `downloads` to `true`.
```yaml
+instance_name: example_agent
relay:
enabled: true
mode: agent
controller:
- address: https://192.168.1.53:5001
+ address: https://192.168.1.25:5001
ignore_certificate_errors: true
api_key: 9tWy5c3NrmekKVWLQXBztz0hY7rNGlj1tGMfvHKmU1q
secret: BgI04SuVtsAYipxPHDpdxJsnVoPEeq4tKJeorWxr3Pj