Opening Proxmox ports

kokoticek

Active Member
Jun 7, 2010
121
3
38
Already read in the wiki about the ports Proxmox uses.

If wanting to access Proxmox GUI and VMs from outside LAN -internet-, I guess I'd need to allow all GUI, noVNC and Spice proxy ports in router. But, is this secure? Aren't those ports already widely known in the world just like SSH, httpd or RDP ports?

Wouldn't I need to change the default ports? How?
 
You can open only 8006 to gui and access everything in browser. It is not necessary to open noVNC ports. As for spice you need to configure the port in VM and then redirect it. If you don’t need ssh of individual machines then 8006 is sufficient if you want access ssh on VM then you need to map port 22 of the VM to some other port of your public ip then you can access the ssh of VM individually on that port from outside. Of course you need to do these config in firewall or router. Still better install a pfsense firewall inside a VM and then you can easily manage the ports. Bridge the router with pfsense. I am assuming you are having a single public ip.
 
So if I open port 8006 I can acces the web GUI *and* from it the noVNC/SPICE consoles for all VMs?

And, would it be advisable to change default GUI port, or is it stillnot very known like the other standard ports such as SSH 22, httpd 43, etc?
 
If you are worried about exposing the web interface, I suggest making it only accessible via a VPN.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!