DNS Server linuxLinux serverNETWORK ADMINISTRATIONS

WireGuard – How to prevent DNS Leaks on Linux

When connecting to a WireGuard server from Linux, not all the traffic might be routed through the VPN tunnel and some DNS requests might be done outside the VPN which is a secury threat. In this video I explain how to prevent that.

NetworkManager config file:
/etc/NetworkManager/NetworkManager.conf

Restarting NetworkManager:
sudo systemctl restart NetworkManager

source

by Linuxus

linux dns server

2 thoughts on “WireGuard – How to prevent DNS Leaks on Linux

  • Thanks for helping me, dns leak its over now, i just installed my new wireguard server and pihole but my linux always leaking my dns, but now its no more.

Comments are closed.