Test Host Connectivity to the Management Plane via Proxy

Problem

  • Hosts are denied direct connectivity to Platform9 Cloud (Management Plane).

  • Connectivity to the Management Plane is forwarded by a proxy server. In such cases, testing connectivity using telnet won't help.

Environment

  • Platform9 Managed OpenStack - All Versions

  • Platform9 Managed Kubernetes - All Versions

Procedure

  1. Connectivity the the Platform9 Cloud (Management Plane) via proxy server can be tested on the host using the curl command. The syntax is as follows.

$ curl -Lv -x [http/https]://[PROXY_FQDN/IP]:[PORT_NUMBER] https://[MANGEMENT_PLANE_FQDN]

Example:

PROXY_FQDN/IP: proxy.com

PORT_NUMBER: 8080

MANAGEMENT_PLANE_FQDN: portal.platform9.net

  1. If the proxy server is configured for http, use the following curl command.

$ curl -Lv -x http://proxy.com:8080 https://portal.platform9.net
  1. However, if it is configured for https, tweak the command as shown below.

$ curl -Lv -x https://proxy.com:8080 https://portal.platform9.net
  1. Certain proxy servers forward request only after authentication. Pass the credentials to the curl command using the -U option, as shown where admin is the username and platform9 is the password.

$ curl -Lv -U admin:platform9 -x http://proxy.com:8080 https://portal.platform9.net
  1. If the proxy server authenticates using Microsoft's security protocol NTLM(New Technology LAN Manager) then pass the option --proxy-ntlm and domain. Prepend the domain to the username separated by two backward slashes (\). For example, if the domain is cloud then run as follows.

$ curl -Lv --proxy-ntlm -U cloud\\admin:platform9 -x http://proxy.com:8080 https://portal.platform9.net

Additional Information

curl Manual