From 5ddaa5e3853b24116d206dc5ab6d8a51ffbd700d Mon Sep 17 00:00:00 2001 From: Akemi Izuko Date: Sun, 21 Apr 2024 21:33:54 -0600 Subject: [PATCH] Unix: add reverse-proxy line for dns ip --- src/content/unix/reverse-proxy.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/content/unix/reverse-proxy.md b/src/content/unix/reverse-proxy.md index 80263e8..e9bda0c 100644 --- a/src/content/unix/reverse-proxy.md +++ b/src/content/unix/reverse-proxy.md @@ -169,7 +169,7 @@ ssh -p 8022 emiliko@172.27.10.10 This will be forwarded to port 22 on the server! -### Reverse Proxy without a Static IP +## Reverse Proxy without a Static IP If you're planning to use a home computer, you'll quickly find that most internet service providers do not offer static IPs for consumer plans. Luckily, @@ -328,3 +328,11 @@ WantedBy=timers.target Then start it with `systemctl enable update_a_record.service`. The name of the service will be different based on what you called the files. + +Now to use this for reverse-proxy purposes, go back to your `client.toml` config +and update the `remote_addr`: + +```toml +[client] +remote_addr = "mycomputer.example.com:9001" +```