How to use tcpump on UAG

The VMware Unified Access Gateways are hardened appliances with well defined services and settings. This means that, even though UAG is a Linux machine and administrators can have full access to its CLI, we shouldn’t really be installing extra components on it.

When it comes to troubleshooting networking issues, we can login to the CLI and use tools such as ping, ifconfig, curl and openssh. However, other tools such as tcpdump are not installed out-of-the-box.

Instead of downloading it from an external repository, installers for tcpdump and ethtool are actually available on UAG. In order to install them, you can run the following command:

/etc/vmware/gss-support/install.sh

After you are done troubleshooting, you can also uninstall those tools in order to bring back the appliance to its “original” state.

/etc/vmware/gss-support/uninstall.sh