By Kabeer Khan on Thursday, 11 October 2018
Category: Apps DBA

[Solved] How to disable firewall in Oracle Linux 7.5?

Issue

How to disable firewall in Oracle Linux 7.5? 

Introduction to firewall in Oracle Linux 7.5

Unlike previous Oracle Linux releases which uses 'iptables' command, the newer Oracle Linux 7.x release uses 'firewalld' command to manage the firewall.

Firewalld uses zones and services in comparison to iptables that make use of chains and rules.

Firewalld is a dynamically controlled service and lets you change the configuration of firewall even when it is running.

Solution

Disable the Firewall
To disable firewalld service run the following command from 'root' user.

Enable the Firewall

To enable the firewall service run the following command from 'root' user:

Start the Firewall

To start the firewall service run the following command from the 'root' user:

Stop the Firewall

To stop the firewall service run the following command from the 'root' user:

Environment

+ Oracle Linux 7.5