GitHub user soulfulgent added a comment to the discussion: Cannot view vm 
instance console remotely - site Cannot be reached

Thanks for your reply.

Running version 4.22 (forgot to mention)

I agree, the my physical router (provided by ISP) is allowing traffic to my 
CPVM  IP over port 8080. My readings, I found that consoleproxy runs on port 
8080. Am I correct in saying this. So currently, my router is allowing traffic 
from the internet to CPVM over port 8080

First thing, are you saying the CPVM should not be behind a FW in the first 
place? ..is so, I would need to change/fix this before moving forward. I want 
to configure this by the book and as it's supposed to work with a basic setup, 
not by hacks. What are considered best practice for allowing remote access vm 
instances remotely for a "Basic" setup

Can you please elaborate more on setting up a jump host ..or server/box? in the 
destination subnet and access the instance console the same ...the same what?  
Also port forwarding. There are no settings available for port forwarding in 
Cloudstack UI.


My understanding, to allow vm instances to connect remotely, is controlled by 
security groups. The security group I created, is configured to "Allow" all 
ports for CIDR 0.0.0.0./0, representing all ipv4 traffic. With this setup, I 
should be able to access and/or view server console from the internet?

To add, i don't see any TAB's in cloudstack UI that say "Firewall"
I've added some screenshots for clarity of my setup.

<img width="1224" height="830" alt="defaultGuestNetwork" 
src="https://github.com/user-attachments/assets/a391b845-3444-4ca8-a227-e2c47224ec84";
 />

<img width="1337" height="209" alt="systemVM" 
src="https://github.com/user-attachments/assets/df97b582-d7ea-485c-8cc3-f06dc298693c";
 />


<img width="1358" height="612" alt="zone" 
src="https://github.com/user-attachments/assets/f0a51ece-677d-4cd8-88fa-95bda1d5b6aa";
 />

this is the IP of the VR i get when launching "view console". As mentioned 
above, the IP has been added to my router/FW
<img width="1650" height="182" alt="console_view_showing_IP" 
src="https://github.com/user-attachments/assets/9d828465-c361-49f6-a7d0-4411e7e34787";
 />

Thanks again for your help on this matter. It's greatly appreciated.
Mike

GitHub link: 
https://github.com/apache/cloudstack/discussions/13295#discussioncomment-17160184

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to