PVE Cluster :: Disabling web interface on slaves?

Giovanni

Renowned Member
Apr 1, 2009
109
11
83
Hi guys

I was wondering what would the best approach be to disable the web interface on a PVE Cluster, I only want to have access to the web interface via the master node and avoid HTTP traffic on slaves.

How would I go about disabling it, and would it affect proxmox live migrate or any cluster features?

Thanks
 
Actually, i did it for my self:

iptables -A INPUT -p tcp -s MY_IP/32 --dport 80 -j ACCEPT
iptables -A INPUT -p tcp -s MY_IP/32 --dport 443 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j DROP
iptables -A INPUT -p tcp --dport 443 -j DROP

Only you, could connect to PVE Web Management, it didnt affect migrates and other stuff.

Copy these lines to /etc/rc.local
 

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!