<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Checking Global Protect Client Status via Command Line in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/checking-global-protect-client-status-via-command-line/m-p/169822#M53911</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/70243"&gt;@BeejCyr&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To allow users to connect to GP even when they are at "home" site, make use of 'Internal Gateways'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anurag&lt;/P&gt;</description>
    <pubDate>Thu, 03 Aug 2017 13:44:15 GMT</pubDate>
    <dc:creator>ansharma</dc:creator>
    <dc:date>2017-08-03T13:44:15Z</dc:date>
    <item>
      <title>Checking Global Protect Client Status via Command Line</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/checking-global-protect-client-status-via-command-line/m-p/169814#M53910</link>
      <description>&lt;P&gt;We have had a heck of a time getting Global Protect 4.0.2 deployed in our environment.&amp;nbsp; One of the things I am coming across is that the install goes fine, at least accoring to the exit code on msiexec and in looking thoguht the log created by msiexec.&amp;nbsp; However, the pangps service does not always get created.&amp;nbsp; Granted, the number of macine affected by this problem is smallish.&amp;nbsp; I would say 3-6%.&amp;nbsp;&amp;nbsp; Now I can check for the existance of the service and manually create it and that fixes most of the machines, but now I am trying to circle back around for all the machines to determine if the global protect client is working ok.&amp;nbsp; On many machines I can check to see if the PanGP interface has an IP address in the range we assigned, but other machines "live" at a location where the site has a connections, either via MPLS or DMVPN to the main office, so Global Protect is considered to be on its home network.&amp;nbsp;&amp;nbsp; I am looking for a way that will allow me to detect if GP is running correctly whether it is on a home network or not.&amp;nbsp; A string in a log, a registry key, a command line that will give me an exit code, etc. something I can deploy that will allow me to see if the client is in "home", active or disabled mode from a command prompt.&amp;nbsp; Powershell is also an option.&amp;nbsp;&amp;nbsp;&amp;nbsp; Ideas?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 12:48:36 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/checking-global-protect-client-status-via-command-line/m-p/169814#M53910</guid>
      <dc:creator>BeejCyr</dc:creator>
      <dc:date>2017-08-03T12:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Checking Global Protect Client Status via Command Line</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/checking-global-protect-client-status-via-command-line/m-p/169822#M53911</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/70243"&gt;@BeejCyr&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To allow users to connect to GP even when they are at "home" site, make use of 'Internal Gateways'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anurag&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 13:44:15 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/checking-global-protect-client-status-via-command-line/m-p/169822#M53911</guid>
      <dc:creator>ansharma</dc:creator>
      <dc:date>2017-08-03T13:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Checking Global Protect Client Status via Command Line</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/checking-global-protect-client-status-via-command-line/m-p/169832#M53915</link>
      <description>&lt;P&gt;Thanks for the resources, but it is not quite what I am going for.&amp;nbsp; I am looking for a way to determine the status of the Global Protect agent from the command line.&amp;nbsp; My script will not be able to "see" the icon, and the script may be running while all users are logged out and the client will be connected in a prelogin state.&amp;nbsp; Another couple of facts that may figure in to the solution:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;We are using SSO.&lt;/LI&gt;&lt;LI&gt;I have no access to the gateway.&amp;nbsp; My area of responsibility is client deployment.&lt;/LI&gt;&lt;/OL&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/51040"&gt;@ansharma&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/70243"&gt;@BeejCyr&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To allow users to connect to GP even when they are at "hom" site, make use of 'Internal Gateways'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's some information to get you started:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.paloaltonetworks.com/documentation/60/globalprotect/global_protect_6-0/globalprotect-quick-configs/mixed-internal-and-external-gateway-configuration&amp;nbsp;" target="_blank"&gt;https://www.paloaltonetworks.com/documentation/60/globalprotect/global_protect_6-0/globalprotect-quick-configs/mixed-internal-and-external-gateway-configuration&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.paloaltonetworks.com/documentation/80/pan-os/newfeaturesguide/globalprotect-features/internal-gateway-selection-by-source-ip-address&amp;nbsp;" target="_blank"&gt;https://www.paloaltonetworks.com/documentation/80/pan-os/newfeaturesguide/globalprotect-features/internal-gateway-selection-by-source-ip-address&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.paloaltonetworks.com/documentation/70/globalprotect/globalprotect-admin-guide/set-up-the-globalprotect-infrastructure/configure-globalprotect-gateways&amp;nbsp;" target="_blank"&gt;https://www.paloaltonetworks.com/documentation/70/globalprotect/globalprotect-admin-guide/set-up-the-globalprotect-infrastructure/configure-globalprotect-gateways&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HTH.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anurag&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 13:39:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/checking-global-protect-client-status-via-command-line/m-p/169832#M53915</guid>
      <dc:creator>BeejCyr</dc:creator>
      <dc:date>2017-08-03T13:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Checking Global Protect Client Status via Command Line</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/checking-global-protect-client-status-via-command-line/m-p/169834#M53917</link>
      <description>&lt;P&gt;FYI, I get a 404 on all three links you supplied.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 13:40:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/checking-global-protect-client-status-via-command-line/m-p/169834#M53917</guid>
      <dc:creator>BeejCyr</dc:creator>
      <dc:date>2017-08-03T13:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Checking Global Protect Client Status via Command Line</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/checking-global-protect-client-status-via-command-line/m-p/169835#M53918</link>
      <description>That's odd.&lt;BR /&gt;&lt;BR /&gt;I guess I'll remove the links since they wouldn't help in your requirement.</description>
      <pubDate>Thu, 03 Aug 2017 13:42:38 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/checking-global-protect-client-status-via-command-line/m-p/169835#M53918</guid>
      <dc:creator>ansharma</dc:creator>
      <dc:date>2017-08-03T13:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Checking Global Protect Client Status via Command Line</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/checking-global-protect-client-status-via-command-line/m-p/169877#M53929</link>
      <description>&lt;P&gt;Hi Mate,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure if this ticks the box. But from the cli ye can see the current users logged in for th eglobal protect and the gateways they are logged on to. Can add to the cli command to just check for internal or external gateways if needed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;admin@NextGen-01&amp;gt; show global-protect-gateway current-user gateway&lt;BR /&gt;TAC-LAB-GW TAC-LAB-GW&lt;BR /&gt;internalGW internalGW&lt;BR /&gt;tacgwExt tacgwExt&lt;BR /&gt;&amp;lt;value&amp;gt; Show for given GlobalProtect gateway&lt;/P&gt;&lt;P&gt;admin@NextGen-01&amp;gt; show global-protect-gateway current-user gateway&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Doesn't scale well I guess with 100's or 1000s.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the web ui you can also see the current users logged in,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;networks&amp;gt;global protect &amp;gt; gateways -&amp;gt; far right , current users..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;screenshot below from lab set up showing external user on the ext gateway and a local guy on the internal gateway.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="globalProtectUsers.PNG" style="width: 500px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/10626i239D1B242F59EAB5/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="globalProtectUsers.PNG" alt="globalProtectUsers.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rob&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 16:42:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/checking-global-protect-client-status-via-command-line/m-p/169877#M53929</guid>
      <dc:creator>DonohoeRobert</dc:creator>
      <dc:date>2017-08-03T16:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Checking Global Protect Client Status via Command Line</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/checking-global-protect-client-status-via-command-line/m-p/169921#M53944</link>
      <description>&lt;P&gt;Rob,&lt;/P&gt;&lt;P&gt;Yeah, if I could get access to the gateway it would be easier, but alas I cannot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the Cisco AnyConnect VPN client we are replacing, I can do something like vpncli /status and it would product some test I could search through.&amp;nbsp;&amp;nbsp; I was really hoping GlobalProtect did something similar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 18:43:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/checking-global-protect-client-status-via-command-line/m-p/169921#M53944</guid>
      <dc:creator>BeejCyr</dc:creator>
      <dc:date>2017-08-03T18:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Checking Global Protect Client Status via Command Line</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/checking-global-protect-client-status-via-command-line/m-p/169922#M53945</link>
      <description>&lt;P&gt;Probably not the simple solution you are looking for, but in the local log files that GP client is writing to the folder where it was installed you should find the information you want&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 19:01:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/checking-global-protect-client-status-via-command-line/m-p/169922#M53945</guid>
      <dc:creator>Remo</dc:creator>
      <dc:date>2017-08-03T19:01:32Z</dc:date>
    </item>
  </channel>
</rss>

