Netskope Help

Troubleshooting Performance and Connectivity using TCPing and PsPing

The Netskope Publisher acts as a TCP/UDP proxy. The following tests do not validate end-to-end connectivity. They validate that the Netskope Client can reach the Publisher assigned to the private application. This can be used in conjunction with telnet, ping, and other utilities on the Publisher to validate end-to-end connectivity and round-trip time.

Netskope Private Access (NPA) includes some native troubleshooting tools, such as the UI Troubleshooter and connectivity tests. In some cases, you may want to validate these findings or perform additional troubleshooting steps to see where an issue is occurring. NPA and some customer environments do not support ICMP, so traditional ping and traceroute utilities can’t help in many instances. In such cases, you can use tcping, psping, and more for additional troubleshooting.

This article outlines how to install and use these tools. Instructions are included for both Windows and Mac as well as basic usage. Not every operating system supports tcping and tcp traceroute natively, so you may use the tools below or other implementations. Netskope does not endorse or support the installation, configuration, or troubleshooting of the below tools. They are provided as examples and you may choose to use other tools that perform similar functions.

MAC Installation
  1. Open a terminal window.

  2. Install homebrew by entering /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

  3. Install tcping by entering brew install tcping.

  4. You can validate that tcping installed by running sudo tcping netskope.com 443.

    image1.png
Windows Installation
  1. Download PsPing.

  2. Extract the archive to a specific location. If you’d like to reference psping from any command prompt, ensure it is in a directory in your $Path system variable, which is C:\Windows\system32 by default.

  3. Validate that psping installed successfully by entering psping netskope.com 443.

    image2.png

The below example is using a sample Jira application with the following application definition. Ports 22,80, 443, and 8080 should all be open and responding. These commands will need to run on a machine with a Netskope Client where Private Access is enabled and apps are steered.

image3.png
Testing with TCPing
  1. Open terminal on the Mac device.

  2. Enter the tcping command with the port that you’d like to validate end-to-end connectivity with. For example, tcping ip-10-0-0-162.ec2.internal 22.

    image4.png
  3. Validate connectivity to additional ports, such 443, by running tcping ip-10-0-0-162.ec2.internal 443.

    image5.png
Testing with PSPing
  1. Open a command prompt or Powershell window.

  2. Enter the psping command including the hostname and port, such as psping ip-10-0-0-162.ec2.internal:443.

    image6.png