Search This Blog

Wednesday, April 6, 2022

How to open check_mk port to specific IP address on CentOS 8

I installed the latest check_mk agent on a CentOS 8 server.
dnf install check-mk-agent-2.0.0p13-1.noarch.rpm
To open check_mk port to specific IP address ( for example: 10.10.10.10 is my check_mk host server ) on CentOS 8 server.
firewall-cmd --permanent --zone=public --add-rich-rule='
  rule family="ipv4"
  source address="10.10.10.10/32"
  port protocol="tcp" port="6556" accept'
Always reload firewalld after changes
firewall-cmd --reload

No comments:

Post a Comment