In the Datacentre (top-left) highlight Firewall and then Security Group.
Create security groups for:
After you have Security Groups made, click on a node name in the left menu, then:
In a terminal, SSH to the node and enable the firewall:
vim /etc/pve/firewall/cluster.fw
[OPTIONS] enable: 1 [RULES] ... the rules that the GUI inserted ...
You may also configure firewalls on each VM later, in which case you will need to similarly enable them.
Reference: https://pve.proxmox.com/wiki/Firewall