apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
2.11k stars 1.11k forks source link

Alternative port with console proxy #9702

Closed wagnerdracha closed 2 months ago

wagnerdracha commented 2 months ago
ISSUE TYPE
COMPONENT NAME

Instances

CLOUDSTACK VERSION

CloudStack 4.19.1.0

CONFIGURATION
OS / ENVIRONMENT

Ubuntu

SUMMARY

I access my cloudstack by https://example.com:8080/

I don't have all control of my modem ports. My ISP just give control of ports >= 1025. So, I need to do a port forward to access externally of my network.

When I login with cliente and try to access the proxy console, it try to connect with internal IP like 192.168.10.50. E.g.: http://192.168.10.50/resource/noVNC/vnc.html?autoconnect=true&port=8080&token=[TOKEN]

Look here that the host address don't have the port 8080: http://192.168.10.50/....

So, how can I do a port forwarding to access enternally? What IP I have to point on port forwarding, management server?

And if I utilize a hostname (like *.consoleproxy.exemple.com.br), how can I add the port to this console proxy?

I saw that i have to update a configuration on global setting with the subdomain, so I created: *.consoleproxy.exemple.com.br

Now, when I acess the console proxy I got this url: http://192.168.10.50.consoleproxy.exemple.com.br/resource/noVNC/vnc.html?autoconnect=true&port=8080&token=[TOKEN] (something like that), cloudstack don´t access.

I didn't configure the SSL options.

How can I configure that option?

Thansk in advanced!