Disable firewall in Oracle Linux 7

Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
Breadcrumb Abstract Shape
  • User AvatarANKUSH THAVALI
  • 18 Jul, 2020
  • 0 Comments
  • 16 Secs Read

Disable firewall in Oracle Linux 7

Following are the command to stop firewall in oracle linux 7.

Command to stop firewall but will start again after reboot.

[root@prim ~]# systemctl stop firewalld

Command to stop firewall after reboot server

[root@prim ~]# systemctl disable firewalld 
rm'/etc/systemd/system/basic.target.wants/firewalld.service'
rm'/etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service'