How to connect to vpn from commandline on MACOS Sierra

Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to connect to vpn from commandline on MACOS Sierra

L0 Member

I work at a company where we use various version of MAS OS X and connect to client VPNs that use various verison of Global Protect. The problem is that we find many conflicts between versions of GP and the host OS and there cannot be two version of GP installed at the same time.

Users providing support to clients often have connectivity issues because our clients don't upgrade their GP servers...


Is there a way to setup a server that my internal support staff can connect to and in turn, use the commandline to connect out to our clients we support?


If not, is there any operating system that allows connection to Global Protect from the command line?


Thank YOU!!!!


Cyber Elite
Cyber Elite

Currently you can't do this with GlobalProtect regardless of the actual software being used. It's been asked about before and I believe there is at least one future request for this but it simply doesn't really fall in line with the options that you can configure from a Palo Alto firewall to control the client. CLI options on GlobalProtect would be great, but as of current they are not supported to the best of my knowledge to actually make the connection. 


Just to throw it out there though I'm not that positive from a administrators perspective if I would want a vendor having options for either of the options that you are asking for. If I have a way to log connection information in with CLI options then you could likely create a script with a username and password saved that would allow any of your staff to just login to my network. Not a shot at you in particular, I just know that I've had some vendors where a personal login and password was put into my customer file that anyone in the company had access to. This would make it so that anybody with access to some server on your network would have the same level of access as I granted a specific person from your company. 

  • 1 replies
  • 101 Subscriptions
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!