Unix: add reverse-proxy line for dns ip
This commit is contained in:
parent
f679eaf2d1
commit
5ddaa5e385
1 changed files with 9 additions and 1 deletions
|
@ -169,7 +169,7 @@ ssh -p 8022 emiliko@172.27.10.10
|
||||||
|
|
||||||
This will be forwarded to port 22 on the server!
|
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
|
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,
|
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
|
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.
|
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"
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue