Setting DNS correctly in Macos

Hi! A few days ago I am trying to connect to a GlobalProtect gateway and in the end, after much reading in the forum and testing I have found the way!

It is currently working perfect, but I have an additional problem: Some of the corporate internal sites that I normally access using the official client, return a 404 error.

I have taken a look at the ip tables using netstat -rn (yehp im using MacOS BigSur), comparing the ones I get using the official client and the ones I get using OpenConnect and they seem to be the same.

I have also had a look at the /etc/hosts file, they also seem to be the same as I get when using both clients.

Where if I have found differences is when running the command scutil --dns I have taken a screenshot of all three flavors :

  • No VPN client
  • OpenConnect Client
  • Official GlobalProtect Client

Sorry for the large image, it seemed better to make it more visible. I have searched through the issues but could not find a workarround for this. I hope you can help me with this!

Untitled