Disconnect GlobalProtect Users at Specific Time

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

Disconnect GlobalProtect Users at Specific Time

L0 Member

Is there an easy way to schedule GlobalProtect users to disconnect at a specific time of day?  Not looking for idle session timeout. 

1 REPLY 1

Cyber Elite
Cyber Elite

Hi @BrandonBowman ,

 

I do not know of an easy way in the configuration.  You could script an API request or CLI command to be pushed to logout all GlobalProtect users.  The API call can be as easy as a Linux cron job running curl with the authentication cookie (please keep secret!).

 

/api/?type=op&cmd=<request><global-protect-gateway><client-logout-all></client-logout-all></global-protect-gateway></request>

 

CLI:  https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClamCAC

 

The question is, "Do you want to keep them out?"  Then you would need something like a scheduled security policy rule to block access (does not work on existing sessions), or time limits for your users on your authentication server.

 

Thanks,

 

Tom

Help the community: Like helpful comments and mark solutions.
  • 685 Views
  • 1 replies
  • 0 Likes
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!