This sounds like a routing and/or DNS problem. Since you mentioned a VPN, it is likely that your routing table got messed up somehow.
Please post the output of
Run, and post the outputs of both when you ar e connected to the VPN and not.
To provide terminal output, copy the text you wish to share, and paste it here, surrounded by three (3) backticks, a.k.a grave accents. Like this:
Or three (3) tilde signs, like this:
This will just cause it to be rendered like this:
cursus nisl nisi
hendrerit ac quis
tortor sit leo commodo.
Instead of like this:
Portaest sed elementum cursus nisl nisi hendrerit ac quis sit adipiscing tortor sit leo commodo.
Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as descrribed above.
Thereby improving legibility and making it much easier for those trying to be of assistance.
Please edit your post accordingly.
For more information, please see:
If your language isn’t English, please prepend any and all terminal commands with
LC_ALL=C. For example:
This will just cause the terminal output to be in English, making it easier to understand and debug.