You are not logged in.

#26 2015-06-21 11:49:06

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: NetworkManager + OpenVPN + PIA DNS Leaking

SirMyztiq wrote:

So now I see the tcpdump using different values.. but they change when I'm connected/disconnected... see it using different DNS IPs... are the same when connected.

I have absolutely no idea what you are trying to say. Just show the exact commands and exact output.

Offline

#27 2017-04-05 08:30:43

nightguest
Member
Registered: 2017-04-05
Posts: 1

Re: NetworkManager + OpenVPN + PIA DNS Leaking

After a long search, I found a non-obvious solution to this problem.

You just need set dns-priority parameter to negative value (-1) in the ipv4 section of VPN profile

/etc/NetworkManager/system-connections/<VPN Profile>

...
[ipv4]
dns-search=
dns-priority=-1
method=auto
...

Some info about this: https://bugzilla.gnome.org/show_bug.cgi?id=758772

Offline

#28 2017-04-05 16:41:56

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 8,969
Website

Re: NetworkManager + OpenVPN + PIA DNS Leaking

Thanks for sharing. I'm going to go ahead and close this old thread now.


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB