#!/bin/bash
echo "Stopping GlobalProtect..."
launchctl remove com.paloaltonetworks.gp.pangps
launchctl remove com.paloaltonetworks.gp.pangpa
echo "Done!"
#!/bin/bash
echo "Starting GlobalProtect..."
launchctl load /Library/LaunchAgents/com.paloaltonetworks.gp.pangpa.plist
launchctl load /Library/LaunchAgents/com.paloaltonetworks.gp.pangps.plist
echo "Done!"
exit 0
Check if the server is listening:
netstat -an | grep 4767
# should give output like:
tcp4 0 0 127.0.0.1.4767 *.* LISTEN