0

I am running Ubuntu 20.04.1 LTS. I have set up an OpenVPN connection with the Gnome network-manager. I have some domains that point to an ip address inside the vpn (e.g.: service.mydomanin.com points to 10.10.10.1). I want the vpn to work only for the traffic that goes to the ip addresses inside the vpn (e.g. 10.10.10.1), not all traffic: for this reason i have ticked the option "Use this connection only for resources on its network".

The problem is that the browser cannot resolve the domains pointing to the ip addresses inside the VPN with that option enabled (e.g. service.mydomain.com cannot be resolved). What am I doing wrong? That domain points to an ip address inside the vpn, why can't it be resolved?

3
  • This article may offer some help: unix.stackexchange.com/questions/55090/… Jan 14, 2021 at 19:58
  • I don't understand why the address is correctly resolved if untick the option "Use this connection only for resources on its network"
    – giovi321
    Jan 16, 2021 at 15:49
  • Could the problem be that the server behind service.mydomain.com is in the same network as the client trying to access it?
    – giovi321
    Jan 19, 2021 at 15:03

0

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.