Question on Firewalld
by scottdp3 from LinuxQuestions.org on (#55YHC)
Hi,
I am doing some installations which has me update the firewall. The problem is sometimes the firewall is off and I have been turning it on to update the firewall rules and then turn it back off. This strategy worked until I turned on the firewall and port 80 was not on and "BOOM" kicked all the web user off the server. I wound up with a service interruption.
So the question,can I update the firewall rules without turning the firewall on?
I was using # firewall-cmd --permanent add-port=445/tcp
The answer is most likely NO, but it's free to ask.


I am doing some installations which has me update the firewall. The problem is sometimes the firewall is off and I have been turning it on to update the firewall rules and then turn it back off. This strategy worked until I turned on the firewall and port 80 was not on and "BOOM" kicked all the web user off the server. I wound up with a service interruption.
So the question,can I update the firewall rules without turning the firewall on?
I was using # firewall-cmd --permanent add-port=445/tcp
The answer is most likely NO, but it's free to ask.