How do I install Dynatrace Security Gateway?

Before you begin

Security Gateway requirements

  • 1 GB free disk space
  • 2 GB RAM (4 GB recommended)
  • 1 dual core processor
  • Communications between Dynatrace SaaS installations and monitored environments are sent via HTTPS on port 443. URLs for monitored environments use the form <YourEnvironmentID>.live.dynatrace.com.
  • Communications between Dynatrace Managed installations and Dynatrace Server are sent via HTTPS on port 8443.
  • Data sent from OneAgent is received via HTTPS on port 9999.

If you’re installing OneAgent on a system that runs on VMware, install Security Gateway in a network segment that can easily reach your VMware solution.

On which platforms can Security Gateway be installed?

Download and run the installer

To install Security Gateway

Select Deploy Dynatrace from the navigation menu.

Click the Start installation button.

Click the Install Dynatrace Security Gateway link.

If you've already installed OneAgent

Normally it’s fine to install Security Gateway at any time following OneAgent installation. In some cases however, the OneAgent installer must know about your Security Gateway installation before OneAgent can be installed. In such instances you must first install Security Gateway and then download the Dynatrace OneAgent installer. For example, if you download the OneAgent installer and use it to install Dynatrace in a DMZ or network segment that has no Internet access and subsequently install Security Gateway, you’ll need to re-download the OneAgent installer and re-install Dynatrace to ensure that the installer provides the proper configuration between OneAgent and Security Gateway. This is because OneAgent needs to be automatically configured during installation to connect to your monitored environment and send monitoring data back to Dynatrace Server via your Security Gateway.

You can install Security Gateway on a Linux or Windows machine. Security Gateway needs to send monitoring data to Dynatrace. This is why Security Gateway requires Internet access. Security Gateway listens (i.e., accepts incoming connections) on port 9999 and talks to Dynatrace Server (i.e., makes outgoing connections) on port 443. Ensure that your firewall settings allow communication through these ports.

How you download your installer depends on your setup and needs. You can choose to download an installer directly to the server where you plan to install Security Gateway or you can download an installer to a different machine and then transfer the installer to the server.

Getting the Linux installer

On the Download Dynatrace Security Gateway page, click Linux. Downloading the installer for Linux is fairly easy—just copy the wget command line from the Use this command on the target host text box (see below) and paste it into your terminal window. Make sure to copy the command directly from the first text box because it contains your environment ID. Wait for the download to complete. Then verify the signature by copying the command from the Verify signature text box and pasting the command into your terminal window. To start installation, copy the command line from the And run the installer with root rights text box and paste the command into your terminal window. Make sure your system is up to date, especially SSL and related certificate libraries. If you plan to download Security Gateway directly to the server, note that outdated libraries (for example, CA certificates) or missing OpenSSL will prevent the installer from downloading (we use encrypted connections, so OpenSSL is required to enable wget to access the server). You can also download the installer by clicking the Download Security Gateway installer link at the bottom of the page and saving the installer script to any location on your system, thereby bypassing the wget command altogether.

Getting the Windows installer

On the Download Dynatrace Security Gateway page, click the Windows button. Then click the Download securitygateway.exe button. Download the installer directly to the server where you want to install Security Gateway or to another suitable location.

Windows: You need administrator rights to install Security Gateway. Run the executable file using administrator rights and follow the displayed instructions.

Linux: Copy the command from the Use this command on the target host text box and paste the command into your terminal. Note that you’ll need root privileges for this. You can use su or sudo to run the installation script. You need to make the script executable before you can run it. To do this, type one of the following commands in the directory where you downloaded the installation script.

If you’re on an Ubuntu Server
    chmod + x Dynatrace‐Security‐Gateway‐Linux‐1.0.0.sh
sudo ./Dynatrace‐Security‐Gateway‐Linux‐1.0.0.sh
If you’re using Red Hat Enterprise Linux
    chmod + x Dynatrace‐Security‐Gateway‐Linux‐1.0.0.sh
su ./Dynatrace‐Security‐Gateway‐Linux‐1.0.0.sh
If you start a root session
    chmod + x Dynatrace‐Security‐Gateway‐Linux‐1.0.0.sh
./Dynatrace‐Security‐Gateway‐Linux‐1.0.0.sh

Security Gateway can use an HTTP proxy server address. On Windows, you can enter this address in one of the installer steps. On Linux, you need to pass an extra parameter (PROXY), whose value is the proxy address and port, for example PROXY="172.18.18.100:8080".

Once Security Gateway connects to Dynatrace Server, installation is complete. That’s all there is to it! As soon as Security Gateway connects to Dynatrace Server, OneAgent is informed and re-configured to send monitoring data through Security Gateway. To check on the status of the installation, click the Show deployment status button and select the Dynatrace Security Gateways tab.