this post was submitted on 22 Aug 2023
1 points (60.0% liked)

Arch Linux

7783 readers
36 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

Hello guys,

I am losing my mind over this issue:

I am running Endeavour OS on my laptop and I need to connect to my OPNSense through wireguard, but the performance has been terrible, DNS resolution to be precise. I think this is related to a specific configuration to either NetworkManager or openresolv, because the same configuration file works fine on Android or Windows devices.

My suspicions are that because I am using two piholes that are on the same network of the OPNSense router (and I have a few firewall rules redirecting every DNS traffic to them), there is a conflict somewhere. I have also tried to mess around with the MTU size, but to no avail.

Here is my config file:

[Interface]
PrivateKey = ****************************************
Address = 10.10.10.5/32
DNS = 192.168.0.11, 192.168.0.12
MTU = 1420

[Peer]
PublicKey = ****************************************
AllowedIPs = 0.0.0.0/0, ::/0, 192.168.0.0/24
Endpoint = ******************:51825

Any ideas? Thank you.

you are viewing a single comment's thread
view the rest of the comments
[–] Zadeis 2 points 1 year ago (2 children)

I was dealing with wire guard dns issues recently. What is the interface set to in settings > DNS? I had to set mine to permit all origins for pihole to play nice with wireguard.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

Oh I think that can be an issue! It was only allowing local requests, one hop away. Perhaps I should configure for eth0

EDIT: I think it worked! Only the secondary DNS server was set to listen to eth0, so perhaps the delay was caused by that. Many thanks!

[–] Zadeis 2 points 1 year ago

Glad to hear it worked!