Article 51HS3 VPN issues with DNS in linux mint 19.3

VPN issues with DNS in linux mint 19.3

by
desmi
from LinuxQuestions.org on (#51HS3)
So like a lot of people I am working from home at the moment. There are some internal work websites I can only reach from VPN.

On my old laptop, that runs Ubuntu 19.10 I can make the VPN connection (from the connection manager) and when its on I can only visit internal office websites. I found out I can use a checkbox "Use this connection only for resources on its network". When that is ON it works perfectly.

Now at the beginning of the year I got a new laptop and installed Linux Mint 19.3 (the latest I think).

When I add the VPN I get the same issue, I can only visit my internal office sites. But then I check the same checkbox, I cant visit any internal sites.

If I start openvpn from the commandline it connects, but I don't have DNS because I can only ping IPs from my office network but no websites are resolved.

I found sort of a workaround:

sudo ifmetric tun0 1000

This makes my VPN connection less important (I think?) and I can use both VPN and normal internet.

But after a while it kills my Wifi connection. I dont really understand why.

Anyway I can only work from home at the moment and I would really like to use my new much faster laptop.

I did find this bug and maybe its related, I'm not sure: https://bugs.launchpad.net/ubuntu/+s...n/+bug/1598665

I tried as much as I can, but at the moment I am stuck.latest?d=yIl2AUoC8zA latest?i=zSGPcvbyImA:j7ZGdusdlWE:F7zBnMy latest?i=zSGPcvbyImA:j7ZGdusdlWE:V_sGLiP latest?d=qj6IDK7rITs latest?i=zSGPcvbyImA:j7ZGdusdlWE:gIN9vFwzSGPcvbyImA
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments