Can only access the internet if I am connected to a VPN.

Asked by Michael Gomwe on 2017-11-12


So I use expressVPN and i'm on ubuntu 16.04 LTS version.

I can only connect to the internet if I am using my VPN. If I am not using my VPN, then I cannot access any connectivity services.

For example, if I cmd "ping" I get the error "ping: unknown host". I cannot access any websites when i'm not using the VPN. However, when I connect to my VPN everything works fine.

I believe (from reading around the web) that it might be a DNS issue, but I am new to linux and have no clue how to go about resolving this issue. Any advice would be greatly appreciated.

Thank you.

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Last query:
Last reply:

If you run:

echo "nameserver" | sudo tee /etc/resolv.conf > /dev/null

Do you get Web access?

Launchpad Janitor (janitor) said : #2

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.