Guest User

Untitled

a guest
Jun 25th, 2018
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. ```BASH
  2. #!/bin/bash
  3. echo "Stopping GlobalProtect..."
  4. launchctl remove com.paloaltonetworks.gp.pangps
  5. launchctl remove com.paloaltonetworks.gp.pangpa
  6. echo "Done!"
  7. ```
  8.  
  9.  
  10. ```BASH
  11. #!/bin/bash
  12. echo "Starting GlobalProtect..."
  13. launchctl load /Library/LaunchAgents/com.paloaltonetworks.gp.pangpa.plist
  14. launchctl load /Library/LaunchAgents/com.paloaltonetworks.gp.pangps.plist
  15. echo "Done!"
  16. exit 0
  17. ```
  18.  
  19. Check if the server is listening:
  20.  
  21. ```BASH
  22. netstat -an | grep 4767
  23.  
  24. # should give output like:
  25. tcp4 0 0 127.0.0.1.4767 *.* LISTEN
  26. ```
Add Comment
Please, Sign In to add comment