mirror of
https://github.com/10h30/wirehole-ui.git
synced 2026-06-05 15:09:48 +09:00
Added DDNS instructions
This commit is contained in:
@@ -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.*
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## 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)
|
||||
# ...
|
||||
# ...
|
||||
```
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user