I locked myself out of #Proxmox cluster with #firewall shenanigans. Again.
#homelab #dumbass

@yehor Been there, done that (or rather, our students did)!

This is how we regained control:

Disconnect server from network/internet, then with a direct connection, SSH into the server controlling the cluster, or access the command line from your kvm terminal.

$ nano /etc/pve/firewall/cluster.fw

Change line: enable: 1 to enable: 0
Save and exit nano

$ pve-firewall restart

That’ll let you into the web interface again, where you can fix the rules and re-enable the firewall.

Good luck.

@yehor You probably already know this (given that this is your second 🤦‍♂️), but I’m posting it here because others might not and it’s a quick way to rescue the situation.
@yehor it also happened to my very close friend.
@pax0707 yeah… think I know him