The firewall built into CentOS is called iptables.
When updating rules it’s important to allow SSH access so you can continue to access your VPS using an SSH client.
If you block this access by mistake, contact InfoQuest support and they can temporarily stop the iptables service which will allow you to connect to your VPS and correct the rules.