Installation of an Octopus Authentication Server in the DMZ may be required in configurations where users need authentication to services while outside the enterprise’s network and there is a preference not to use a VPN connection.


An Octopus Authentication Server in the DMZ may only be installed and added to an Octopus system that already has at least one Authentication Server running. Due to security considerations, the Authentication Server in the DMZ does not have its own database. It must be connected to a system that already has an Authentication Server and database.


IMPORTANT: A DMZ Server connects directly to ONE (and only one) corresponding internal Authentication Server via an SSH tunnel. Do NOT use a load balancer to connect a DMZ Server with its Authentication Server.


Installation Flow for POC Environments


In POC environments, the DMZ Server must be connected to an additional Authentication Server that has been installed separately (not the Authentication Server set up in the All-in-One installation). To add a DMZ Server to an All-in-One installation environment, do the following:


  1. Install an additional Authentication Server.

  2. Install the Authentication Server in the DMZ, and connect it to the new Authentication Server, as

    described in the following sections.

.

Preparing for Installation


Before beginning the installation, take the following steps:

  1. Review the list of prerequisites.

  2. Open two SSH terminal connections in parallel:

    • DMZ Octopus Authentication Server terminal window

    • Octopus Authentication Server terminal window

  3. In the DMZ Octopus Authentication Server, go to the home directory.

Installing an Octopus Authentication Server in the DMZ


Follow the procedure below to install an Octopus Authentication Server in the DMZ.


To install an Octopus Authentication Server in the DMZ:

  1. Run the Octopus Authentication Server installation package:

    sudo ./octopus-####.run
  2. To choose the Authentication Server in the DMZ installation option, enter 3.


  3. Specify the setting for proxy configuration (default = no).



    For network setups in which HTTPS to the internet is accessed through a proxy server, type y and enter the URL or IP address of your proxy server.

  4. Specify the setting for firewall creation (default = yes).



    To skip firewall creation, type n. It will then be necessary to ensure that the Linux firewall is configured correctly, according to the chosen configuration:

    • With SSL: Ports 443 and 8443 are enabled

    • Without SSL: Ports 80, 8008 and 8009 are enabled accordingly

  5. Enter details for the self-signed certificate:

    • Organization name: Delete My Org and enter the correct name.

    • Server name: Enter the server name for the certificate. (The name will appear as known on the Linux server. Change it if necessary.)


  6. Manually create an SSH trust on the Octopus Authentication Server, using the public key that is generated by the installation:

    1. In the Octopus Authentication Server, move to the ‘Superuser’ shell:

      sudo bash
    2. Change user to sdo:

      su – sdo
    3. Change directory to .ssh:

      cd /opt/sdo/.ssh/
    4. Open an editor to edit / create a file:

      vi authorized_keys
    5. Copy the public key from the Octopus DMZ Server, and paste it into the Octopus Authentication Server. Save and then exit editing mode.

    6. Change permissions to remove group write permissions:

      chmod g-w authorized_keys
  7. Verify that there is communication between the DMZ Server and the Octopus Authentication Server.

  8. Verify that the installation completed successfully.

Footer - Secret Double Octopus