CentOS7 firewalld no zones

Solution 1:

That sounds like a pretty strange VPS setup and issue, but you can build your own zones easily enough if you don't mind writing a bit of XML.

My public zone is:

<?xml version="1.0" encoding="utf-8"?>
<zone target="DROP">
  <short>Public</short>
  <description>For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted.</description>
  <service name="ssh"/>
  <port protocol="tcp" port="443"/>

</zone>

It is a lightly modified version of the default public.xml, which drops instead of rejects packets, and allows HTTPS as well as SSH.

You would put this in (I think) /etc/firewalld/zones/public.xml.