Skip to content

Commit 098c82c

Browse files
committed
contrib/reresolve-dns: add note for osx
Signed-off-by: Tobias Hintze <[email protected]>
1 parent 13f4ac4 commit 098c82c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Diff for: contrib/reresolve-dns/README

+17
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,20 @@ changes, the kernel will get the update to the DNS entry.
77

88
This works by parsing configuration files, and simply running:
99
$ wg set wg0 peer ... endpoint ...
10+
11+
12+
alternative on OSX
13+
==================
14+
15+
The UI integrated wireguard client on OSX does not support CLI operations
16+
and offers no hook scripts either. For that situation `reresolve-dns.sh`
17+
would not work. Instead an external reverse proxy component can be used to
18+
take care of the re-resolving: https://github.com/thz/dynreverse
19+
20+
This works by running the proxy and configuring the wireguard client to use
21+
a localhost endpoint:
22+
23+
$ dynreverse reverse \
24+
--listen-address 127.0.0.1:50001 \
25+
--upstream-endpoint peer.example.com:51820
26+
# connect wireguard to `Endpoint = 127.0.0.1:50001`

0 commit comments

Comments
 (0)