In CentOS I created the following firewall zones:

To Resolve:

1. First, I create a new zone, and then allow only hosts/ports that I specify:

2. Next, to stop other hosts even on the same network from being able to access ports:

#Steps 1/2 are my setup for initial CentOS VM’s. With this setup all incoming ports are blocked except You can then add hosts/ports as needed.

3. To check firewall settings:

4. To add sources, services, and ports:

4. To enable/disable panic mode (block all):