[CentOS7]firewalldの設定

LINEで送る
Pocket

  • 確認
firewall-cmd --list-all
  • http,httpsを追加
firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --permanent --zone=public --add-service=https
  • restart
systemctl restart firewalld
firewall-cmd --list-all

Was this helpful?

0 / 0

コメントを残す 0

Your email address will not be published. Required fields are marked *