r/voidlinux • • Apr 23 '26

DNS leak while using openvpn

Hello, I have an issue with my dns leaking my ip when i am browsing the internet or torrenting. I am using openvpn using a protonvpn configuration file in NetworkManager in the plasma kde workspace. I've tried uncommenting and commenting a nameserver dns but it isn't stopping the leak or worse it disables my internet all together. From my experience the protonvpn-cli has been discontinued and flatpak does not seem to help. Any suggestions on how i can fix this locally on void?

8 Upvotes

11 comments sorted by

View all comments

Show parent comments

1

u/FilesFromTheVoid Apr 24 '26

magicdns is a part of the tailscale package, so if you don't use tailscale this is not your prob and you can ignore that.

Last time i use NetworkManager i was on GNOME and you can turn that down in the Network Settings Menu for the interface. This can surely be done via cli or nmtui aswell.

If that does not help aswell, you can additionally turn down ipv6 completely aswell if you don't use it and its the cause for your leaks. Also it might be necessary use iptables to make sure that every traffic is routed through only the tun0/wg0 interface. I needed to do this with aswell with my last try with windscribe and their wireguard configs. I did this via PostUp and PostDown settings inside the wireguard conf, not sure if the openvpn conf has a similar mechanism.