- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-06-2022 06:07 AM
I am experimenting a very strange behaviour with Global Protect when connecting to my work from my home WiFi. I am able to connect to the VPN of my work and even doing ssh to the server in the private network, but when I try to surf the web, the browser does not show anything. When I disconnect from the VPN, I am not able to connect to the server anymore (as expected) and I able to access the web. This happens in a linux machine with Ubuntu 20.04.4 LTS. In another machine with MacOs Catalina, using the Global Protect client I can connect the VPN and access the web and the servers via ssh. Anybody experimenting this kind of behaviour? Any solution or suggestion that can help to identify the problem?
04-08-2022 01:04 PM
I have been able to solve the issue myself. Apparently the problem is due to the GlobalProtect script unable to change /etc/resolv.conf in Ubuntu 20.04 (this may be because in Ubuntu is not a regular file, but a link to another file). So after connecting to the VPN the DNS address there were not changed to point to the DNS inside the organization. Now, I have a couple of scripts, one to connect, one to disconnect, that manage the connection and the change of /etc/resolv.conf.
04-08-2022 01:04 PM
I have been able to solve the issue myself. Apparently the problem is due to the GlobalProtect script unable to change /etc/resolv.conf in Ubuntu 20.04 (this may be because in Ubuntu is not a regular file, but a link to another file). So after connecting to the VPN the DNS address there were not changed to point to the DNS inside the organization. Now, I have a couple of scripts, one to connect, one to disconnect, that manage the connection and the change of /etc/resolv.conf.
04-22-2022 09:04 AM
GlobalProtect DNS distribution /run/systemd/resolve/resolv.conf,default dns link /run/systemd/resolve/stub-resolv.conf,Relink,ok
05-17-2022 08:25 AM
i need some clarity on these solutions.
im' no longer able to connect as of fairly recently.
here is my Ubuntu 20.04.4 LTS setup:
✓ user@computer:~ $ ls -lh /etc/resolv.conf
lrwxrwxrwx 1 root root 39 Jun 10 2019 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf
$ ls -lh /run/systemd/resolve/
netif/ resolv.conf stub-resolv.conf
$ ls -lh /run/systemd/resolve/resolv.conf /run/systemd/resolve/stub-resolv.conf
-rw-r--r-- 1 systemd-resolve systemd-resolve 634 May 17 10:08 /run/systemd/resolve/resolv.conf
-rw-r--r-- 1 systemd-resolve systemd-resolve 717 May 17 10:08 /run/systemd/resolve/stub-resolv.conf
07-09-2022 09:53 AM
or anyone fighting this problem, as PA has not fixed it for months, this 3rd party client worked for me the very first try, even with our Azure SSO:
https://github.com/yuezk/GlobalProtect-openconnect
07-09-2022 10:44 PM
Hi ,
Even one my user facing same issue when i checked the VPN adapter is not getting connected .can you help me in this solution.
which showing as undefined network.
06-17-2024 03:46 AM
Hi,
Im having the same issue. How did you resolve it? where can i take those scripts?
06-17-2024 06:41 AM
@BigPalo ,
GlobalProtect 6.1.3-703 is working for me on Ubuntu 22.04.04.
I have a symbolic link from /etc/resolv.conf to /run/systemd/resolve/stub-resolv.conf
sudo ln -s /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
I was using https://github.com/yuezk/GlobalProtect-openconnect with success as well, but when it was upgraded to v2.x it started failing for me, and was also added paid functionality, so i removed it.
06-19-2024 01:55 AM
Hi,
I tried version 6.1.3 in my UBUNTU 24.04 and the result is the same. I can not reach any wel via browser when i connect to VPN. The VPN config is ok.
ANy idea for agent i UBUNTU?
06-19-2024 05:37 AM
your resolv.conf is sym-linked as the other post recommend?
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!