linux:allow_rrdcached_memcache_and_mariadb_mysql_through_the_firewall_in_centos_8

Allow rrdcached, memcache, and MariaDB/MySQL through the firewall in CentOS 8

Open ports 42217 (rrdcached) and 11211 (memcached) in the firewall and reload the firewall.

firewall-cmd --zone=public --permanent --add-port 42217/tcp
firewall-cmd --zone=public --permanent --add-port 11211/tcp
firewall-cmd --zone=public --permanent --add-port 3306/tcp
firewall-cmd --reload

Verify that the ports are open using firewall-cmd –-list-all.

[root@nms nms]# firewall-cmd –list-all
public (active)
target: default
icmp-block-inversion: no
interfaces: ens32
sources:
services: cockpit dhcpv6-client http https ssh
ports: 42217/tcp 11211/tcp 3306/tcp
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
  • linux/allow_rrdcached_memcache_and_mariadb_mysql_through_the_firewall_in_centos_8.txt
  • Last modified: 2020/07/16 16:52
  • by vern