「CentOS8」FirewallD is not running現象を解決する方法
現象
# firewall-cmd –list-all
FirewallD is not running
解決方法
1.ファイアウォールを起動
# systemctl start firewalld.service
2.ファイアウォールの自動起動を有効にする
# systemctl enable firewalld
Created symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service → /usr/lib/systemd/system/firewalld.service.
Created symlink /etc/systemd/system/multi-user.target.wants/firewalld.service → /usr/lib/systemd/system/firewalld.service.
3.ファイアウォールの状態の確認
# systemctl status firewalld
● firewalld.service – firewalld – dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: >
Active: active (running) since Thu 2021-01-21 15:29:12 EST; 49s ago
Docs: man:firewalld(1)
Main PID: 2715 (firewalld)
Tasks: 2 (limit: 4691)
Memory: 26.8M
CGroup: /system.slice/firewalld.service
└─2715 /usr/libexec/platform-python -s /usr/sbin/firewalld –nofork –nopid