Palo Alto Networks – Global Protect Profile Switcher

March 2, 2016
/ / /

Palo Alto Networks – Global Protect Profile Switcher

March 2, 2016
/ / /

For those of us in the MSP or VAR world, we support a number of different technologies using a number of different platforms. Quite often however, we find ourselves deploying the same solution for different customers time and time again. One of these solutions I find myself working with on a regular basis is a Palo Alto Networks Next Generation Firewall.

Now, these devices are awesome – they blow competition out of the water with their entirely different take on how firewalls work (check this out here), but one thing that has always annoyed me is their VPN Client, aptly named “Global Protect”, and let me explain why.

For the average user, they get a device belonging to their corporate network (laptop, be it their own or a company issued one), they work for one employer, and they always VPN in to the same spot (that is, the office). All is well and good – for these people, the Global Protect client works well.

But, for the advanced user – those who have multiple sites to support (MSPs, VARs, or even just the odd combination of sysadmins that do this), re-configuring the client every single time you need to connect to a different customer kind of sucks. You have to open the GUI, type in a username, type in a password, type in a hostname, connect, let the auto discovery take place, then finally connect to the customer once all of this has been done. It sucks. It’s not simple, and if you’re hopping around between customers and Global Protect Portals/Gateways on a regular basis, it’s quite frankly a pain in the behind.

You’re probably wondering where I’m going with this.

Well, I wrote an app that lets you capture and then revert to different Global Protect Portals/Gateways. You can switch between Global Protect Portals / Servers / Gateways, and save multiple profiles and gateways.

Basically, the steps are as follows.

  1. Configure your Global Protect Client for a Customer
  2. Connect Global Protect
  3. On the interface, click “Capture”
  4. Your configured Global Protect profile will be captured, ready for use
    gp restore
  5. Right click and switch between your  captured Global Protect portals, or load from the main interface
    gp right click restore
  6. Never retype a username, password and portal name again

Obviously, this ability depends on a few things, namely:

  • Your Global Protect Gateways permit you to save your password
  • You have a functioning Windows Installation with .NET
  • You have local administrative rights on the machine you are using, since it needs to do some registry manipulation

If you want a copy of this utility, grab it from here:

Global Protect Switcher

Leave a comment below if you find it useful or have any questions/feedback?

EDIT:

There is an update to this post. See here!

 

About Author

About Justin McGee

IT Manager in Brisbane, Australia who gets a kick out of all things IT, be it software, scripts, new technologies or anything else that interests me!

4 Comments

  1. Erwen Tang February 23, 2017 6:20 pm

    Is there a Mac version available?

    Reply
  2. Beau May 18, 2016 6:49 pm

    This is wonderful and saving me a ton of time!!! Does it have the ability to accept command line arguements as I use Devolutions Remote Desktop Manager and would like to just have it run the command line argument depending on which portal I am needing to remote into.

    Reply
    • Justin McGee May 20, 2016 10:48 pm

      Sorry for the late reply mate. That’s not a bad idea actually, and could be easily added.

      What command line switches would you want? Just switching of portals?

      Reply

Post a Comment

Your email address will not be published. Required fields are marked *

*