How To capture logs for GlobalProtect Split tunnel issues on macOS
16996
Created On 06/29/21 22:26 PM - Last Modified 02/20/26 21:42 PM
Objective
This article aims to collect essential data for troubleshooting macOS split tunneling issues.
Environment
- Next-Gen Firewalls
- Supported PAN-OS versions
- Supported GlobalProtect (GP) App versions
- macOS clients
Procedure
- When using include/exclude for any applications, those applications must be installed prior connecting to GlobalProtect.
- If the applications are installed later, GP App must be reconnected.
Follow the steps listed below to collect the logs information from client side.
- In the macOS Terminal, run below command to capture packets.
$ sudo tcpdump -i all -k INP -w gptest.pcapng - Change GP logging level to Dump (Settings -> Troubleshooting -> Logs).
- If the issue involves the GP login, disconnect and reconnect the GP App.
- Reproduce the issue.
- Once the issue is reproduced, stop the packet capture and collect the GP logs (Settings -> Troubleshooting -> Collect Logs).
- Change GP logging level back to Debug.
- Collect gptest.pcapng (which would be saved under /Users/<username> path) and GP logs.
- Run the commands below to check if any third party applications use system extensions:
$ netstat -arn
$ systemextensionsctl list
$ sudo launchctl list | grep -i palo
$ ps aux | grep -i com.paloaltonetworks.GlobalProtect.client.extension
$ ps aux | grep nesessionmanager
$ ps aux | grep sysextd
- Check System Preferences -> Network to see if the application's network extension is loaded. Take a screenshot for reference.
- Note down the time of the issue, domain name and the process involved accessing the domain. (Example, 14:05:00 PST, using Chrome to access www.yahoo.com, shows unreachable).
Additional Information
Log Collection for Split Tunneling Issues on Windows Clients