Proxy Configuration to Access Hosts

Problem

  • Configure host to connect to Platform9 Cloud (Management Plane) via proxy server instead of direct connectivity.

Environment

  • Platform9 Managed OpenStack - All Versions

  • Platform9 Managed Kubernetes - All Versions

Procedure

  1. First test host side connectivity via proxy by referring to Test Host Connectivity to the Management Plane via Proxy.arrow-up-right

  2. Once connectivity is successfully tested, create file /etc/pf9/comms_proxy_cfg.json in the following format and substitute the respective values.

{
        "http_proxy": {
            "protocol": "[http|https]",
            "host": "[PROXY FQDN/IP]",
            "port": [PROXY PORT],
            "user": "[PROXY USERNAME]",
            "pass": "[PROXY PASSWORD]"
        }
    }

Note: If username has backward slash(\) characters then escape each one of them with an additional backward slash like \\

  1. Restart the pf9-comms and pf9-sidekick services.

  1. Tail comms log ( /var/log/pf9/comms/comms.log) for errors.

  2. Run the command below and verify connectivity.

Last updated