Linux Firewalld Setup task failed

Hello Support ,

Linux Firewalld Setup task failed
Following steps followed
systemctl restart dbus;systemctl restart firewalld;systemctl status firewalld
firewall-cmd --state
systemctl status nginx
systemctl status httpd
modprobe iptable_filter
systemctl restart firewalld;systemctl status firewall
firewall-cmd --zone=public --permanent --add-port=8092/tcp;firewall-cmd --zone=public --permanent --add-service=https;firewall-cmd --zone=public --permanent --add-service=http
firewall-cmd --permanent --zone=public --add-rich-rule=‘rule family=ipv4 source address=172.16.238.14 port protocol=tcp port=80 accept’
firewall-cmd --reload;firewall-cmd --list-all

image

image
image
image
image

Hi,

First of all, did you verify that actual port of httpd, because in general it is changed to another port (for example 6400 or 8083, …) and not 80, i think you supposed that the default one which is the 80 is used but it may be another.

Second did you change the rules on the 3 app servers ??? as is see you mentionned only the first server, how about the second and the third app server ?

Hi,

I have followed the same step for all 3 app servers.

1 Like

In rich rules, the apache port you mentioned is wrong. That would be the reason for the task failure.