Firewall config for Zabbix on CentOS

What ports we should open to having access to Zabbix web GUI, Zabbix Server and Agent communication?


It has to be open ports 443 (https), default Zabbix Server 10051 port and default Zabbix Agent 10050 port


$ firewall-cmd --add-service={http,https} --permanentfirewall-cmd --add-port={10051/tcp,10050/tcp} --permanent


or


# firewall-cmd --add-service={http,https} --permanent # firewall-cmd --add-port={10051/tcp,10050/tcp} --permanent # firewall-cmd --reload


Checking is open ports or not in telnet


# telnet 192.168.1.3 10050 Trying 192.168.1.3... Connected to 192.168.1.3. Escape character is '^]'. Connection closed by foreign host.


in the same way, we check port 10051

Have You More questions? Please be free to ask us your questions in the
Dzhumaiev.Slack.com channel 🙂

Leave a Reply