Added DDNS instructions

This commit is contained in:
Ubuntu
2020-09-09 23:37:25 +00:00
parent 3e43a9c1e9
commit 8c585b7e5b
2 changed files with 19 additions and 0 deletions
+18
View File
@@ -111,3 +111,21 @@ While connected to WireGuard, navigate to http://10.2.0.100/admin
*The password (unless you set it in `docker-compose.yml`) is blank.*
![](https://i.imgur.com/hlHL6VA.png)
---
## Configuring for Dynamic DNS (DDNS)
If you're using a dynamic DNS provider, you can edit `docker-compose.yml` under "wireguard".
Here is an excerpt from the file.
You need to uncomment `#- SERVERURL` so it reads `- SERVERURL` without the `#` and then change `my.ddns.net` to your DDNS URL.
```yaml
wireguard:
# ...
environment:
# ...
- SERVERURL=my.ddns.net #optional - For use with DDNS (Uncomment to use)
# ...
# ...
```
+1
View File
@@ -34,6 +34,7 @@ services:
- PGID=1000
- TZ=America/Los_Angeles # Change to your timezone
- SERVERPORT=51820
#- SERVERURL=my.ddns.net #optional - For use with DDNS (Uncomment to use)
- PEERS=1 # How many peers to generate for you (clients)
- PEERDNS=10.2.0.100 # Set it to point to pihole
- INTERNAL_SUBNET=10.6.0.0