DNS leaks with OpenVPN connection - Mint 18.0 KDE
Hello everyone,
First time posting here, and not very experienced with Linux.
Have been using Mint 17.3 (KDE) for a year or so, and installed 18.0 (KDE) in new laptop. I am having problems with DNS leaks while running through third-party VPN services (I use PureVPN and VyprVPN, and experience the same problem with both). This did not happen at all on 17.3. I am using OpenVPN connections through Network Manager (GUI).
I have read ad nauseam about the problem online and my conclusion is that resolv.conf is not been updated when the OpenVPN connection to my VPN server is established (or closed). Some forums have suggested updating the VPN .conf (or .ovpn) file with these lines:
script-security 2
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf
However, I cannot find .conf files, as I believe the Network Manager stores the information in files stored in /etc/NetworkManager/system-connections/. I have tried to modify these files adding the 3 lines above at the end (without header - every other set of instructions has a header) with no success.
I have temporarily set IPv4 DNS servers to point to 208.67.222.222,208.67.220.220 to stop the leaks. Although I understand this is good practice, it is not a solution to the problem of not passing DNS values to resolv.conf.
Any help will be greatly appreciated. If you need additional info just ask - just add the necessary instructions to run. Again, not the brightest kid in the block when it comes to Terminal instructions and codes.
Thanks!
PS: I found several copies of resolv.conf, at /etc, /run/NetworkManager, /run/resolvconf, and /usr/share/linuxmint/mintsystem/templates. I assume the 'active' one should be the /etc one.
|