You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ docker create \
72
72
-e SERVERURL=wireguard.domain.com `#optional` \
73
73
-e SERVERPORT=51820 `#optional` \
74
74
-e PEERS=1 `#optional` \
75
-
-e PEERDNS=8.8.8.8 `#optional` \
75
+
-e PEERDNS=auto `#optional` \
76
76
-e INTERNAL_SUBNET=10.13.13.0 `#optional` \
77
77
-p 51820:51820/udp \
78
78
-v /path/to/appdata/config:/config \
@@ -104,7 +104,7 @@ services:
104
104
- SERVERURL=wireguard.domain.com #optional
105
105
- SERVERPORT=51820 #optional
106
106
- PEERS=1 #optional
107
-
- PEERDNS=8.8.8.8 #optional
107
+
- PEERDNS=auto #optional
108
108
- INTERNAL_SUBNET=10.13.13.0 #optional
109
109
volumes:
110
110
- /path/to/appdata/config:/config
@@ -129,7 +129,7 @@ Container images are configured using parameters passed at runtime (such as thos
129
129
|`-e SERVERURL=wireguard.domain.com`| External IP or domain name for docker host. Used in server mode. If set to `auto`, the container will try to determine and set the external IP automatically |
130
130
|`-e SERVERPORT=51820`| External port for docker host. Used in server mode. |
131
131
|`-e PEERS=1`| Number of peers to create confs for. Required for server mode. |
132
-
|`-e PEERDNS=8.8.8.8`| DNS server set in peer/client configs. Used in server mode. |
132
+
|`-e PEERDNS=auto`| DNS server set in peer/client configs (can be set as `8.8.8.8`). Used in server mode. Defaults to `auto`, which uses wireguard docker host's DNS via included CoreDNS forward. |
133
133
|`-e INTERNAL_SUBNET=10.13.13.0`| Internal subnet for the wireguard and server and peers (only change if it clashes). Used in server mode. |
134
134
|`-v /config`| Contains all relevant configuration files. |
135
135
|`-v /lib/modules`| Maps host's modules folder. |
@@ -257,7 +257,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
257
257
258
258
## Versions
259
259
260
-
***08.04.20:** - Add arm32/64 builds and enable multi-arch (rpi4 with ubuntu and raspbian buster tested). Add CoreDNS. Update the `add-peer`/`show-peer` scripts to utilize the templates and the `INTERNAL_SUBNET` var (previously missed, oops).
260
+
***08.04.20:** - Add arm32/64 builds and enable multi-arch (rpi4 with ubuntu and raspbian buster tested). Add CoreDNS for `PEERDNS=auto` setting. Update the `add-peer`/`show-peer` scripts to utilize the templates and the `INTERNAL_SUBNET` var (previously missed, oops).
261
261
***05.04.20:** - Add `INTERNAL_SUBNET` variable to prevent subnet clashes. Add templates for server and peer confs.
262
262
***01.04.20:** - Add `show-peer` script and include info on host installed headers.
0 commit comments