I have installed firewalld on a fresh CentOS 7 minnimal installation on a VPS (weirdly enough, from what I've been searching firewalld should already be installed with system).
I tried opening some ports but when running a command like
firewall-cmd --zone=public --add-port=80/tcp --permanent
I get following error message: Error: INVALID_ZONE: public
.
When viewing available zones with firewall-cmd --get-zones
i get nothing.
How should it be configured?