Dear all,
I have a following setup:
Adguard running on a seperate Server (not HA) x.x.x.204
Wireguad running on x.x.x.205
I have 2 devices that I want to connect with Wireguard - the connection is working properly without a problem, but the biggest Issue ist with the DNS!!!
I’ve managed to get one device working with the following setup/config:
host: x.x.x.205 (public IP)
addresses:
10.80.50.1/24
dns: [empty] (client.conf uses the Docker IP 172.30.32.2)
name: router - NOT working
addresses:
10.80.50.2/24
allowed_ips:
client_allowed_ips:
0.0.0.0/0
name: mobilephone - WORKING
addresses:
10.80.50.3/24
Clienf.conf file:
Router:
[Interface]
PrivateKey = x.x.x.x
Address = 10.80.50.2/24
DNS = 172.30.32.3
[Peer]
PublicKey = xxxxxx
Endpoint = x.x.x.205:51820
AllowedIPs = 0.0.0.0/0
PersistentKeepalive = 25
Mobile Phone:
[Interface]
PrivateKey = x.x.x.x
Address = 10.80.50.3/24
DNS = 172.30.32.3
[Peer]
PublicKey = xxxxxx
Endpoint = x.x.x.205:51820
AllowedIPs = 0.0.0.0/0
PersistentKeepalive = 25
The DNS resolution on the mobile phone is working but the one on the router is not!! I’ve already tcpdumped the traffic but I don’t see any “issues” on HA - I just don’t get the DNS to work… I mean it doesn’t want to work whatever the reason…
Any advice would be very helpful.
Thank you!!
KR
Rok