You can lose access to a server fast when working with firewalls but they are need. So here is what you do if you have made a BAD rule for your firewall and can no longer access your Proxmox server with the web interface.
Plug in a monitor and keyboard in to the server
Login
Enter the command
pve-firewall stop