How to check or verify connectivity from within a HTML5GW container?

How to check or verify connectivity from within a HTML5GW container?

83
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 16:07 PM


Objective


How can we test connectivity from within the HTML5GW container?

There are hardly any installed tools available. 



Environment


N/A Privileged Access Manager (PAM, self-hosted) PSM

Procedure


You can first step into the container by using:

  1. When using podman:
    • podman exec -it <HTML5GW-CONTAINER-ID> /bin/bash or docker exec -it <HTML5GW-CONTAINER-ID> /bin/bash
  2. When using docker:
    • podman exec -it <HTML5GW-CONTAINER-ID> /bin/bash or docker exec -it <HTML5GW-CONTAINER-ID> /bin/bash

Once within the container, use this command to check for 3389 connectivity to the PSM.

  • (echo >/dev/tcp/psm01.cybrlab.home/3389) &>/dev/null && echo "open" || echo "closed"

Note: This above example is checking port 3389 to my PSM's FQDN. Please change the value to your desired FQDN/IP and port. 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001PPPCA2&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail