「CentOS8」ファイアウォール(firewall)を停止する方法

操作方法
# cat /etc/redhat-release
CentOS Linux release 8.2.2004 (Core)

firewallを確認
# systemctl list-unit-files | grep firewall
firewalld.service enabled

ファイアウォールを無効
# systemctl disable firewalld.service
Removed /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.

ファイウォールの状態の確認
# systemctl status firewalld.service
● firewalld.service – firewalld – dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor >
Active: active (running) since Thu 2021-01-21 11:01:04 EST; 19min ago
Docs: man:firewalld(1)
Main PID: 1021 (firewalld)
Tasks: 2 (limit: 4691)
Memory: 2.0M
CGroup: /system.slice/firewalld.service
└─1021 /usr/libexec/platform-python -s /usr/sbin/firewalld –nofork >

CentOS

Posted by arkgame