Disable Linux firewall

Disabling firewall in Linux 5/7 versions is little bit different than Linux 7. Sometimes you need to disable firewall in Linux 7 version as part of Database installation pre-requisites. This article will help you to find the status of firewall and then enable / disable it.

Firewall Status

The below command will show you the current status “Active” in case firewall is running:

# systemctl status firewalld

Firewall stop / start

You can start/stop Linux firewall with below commands:

# service firewalld stop
# service firewalld start

Firewall Enable / Disable

You can enable/disable firewall completely on Linux with below commands:

# systemctl disable firewalld
# systemctl enable firewalld

Was this article helpful?

Related Articles

Leave a Comment