0

When I try to connect to an Openvpn client in ubuntu 19.04, it fails to resolve hostname if "Use this connection only for resources on its network" option is checked under IPV4 tab. This is confirmed as I can login to a remote server by typing the following command:

ssh username@ip-address

But it shows the following error when I type ssh username@hostname

ssh: Could not resolve hostname hpc.iitd.ac.in: Name or service not known

Normal internet works fine under this situation.

However, when I deselect this option I am able to login to the remote server using hostname but internet websites do not open. I could solve this by using the proxy settings for accessing internet from my institute LAN. But I believe "Use this connection only for resources on its network" should work as intended. I am using Ubuntu 19.04.

Please help me out. Thank you in advance.

  • I guess this may be a bit beyond me but it sounds to me like the proxy sollution you proposed is the best possible solution – tatsu Jun 14 at 12:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.