Disable Service Firewalld di CentOS 7

Secara default, installasi CentOS 7 service firewall sudah aktif secara default. Dalam beberapa hal, terkadang kita ingin menonaktifkan service tersebut dan tidak ingin dijalankan setelah proses booting selesai. Berikut ini langkah-langkah untuk menonaktifkan service firewall di CentOS 7:

Disable Firewalld

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

Stop Firewalld

[root@linboxs ~]# systemctl stop firewalld

Cek Status Firewalld

[root@linboxs ~]# systemctl status firewalld
firewalld.service - firewalld - dynamic firewall daemon
 Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled)
 Active: inactive (dead)

Nov 18 10:02:11 linboxs systemd[1]: Starting firewalld - dynamic firewall daemon...
Nov 18 10:02:12 linboxs systemd[1]: Started firewalld - dynamic firewall daemon.
Nov 18 15:43:41 linboxs systemd[1]: Stopping firewalld - dynamic firewall daemon...
Nov 18 15:43:42 linboxs systemd[1]: Stopped firewalld - dynamic firewall daemon.

Sekian, semoga bermanfaat.

Salam,

Linboxs

error: Content is protected !!