AlmaLinux9 firewalldのサービス起動方法
環境
AlmaLinux release 9.2 (Turquoise Kodkod)
操作方法
1.一時的にサービスを起動する方法
# systemctl start firewalld
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. firewalld 状態を確認します
# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; preset> Active: active (running) since Sat 2024-04-06 19:23:23 JST; 27s ago