0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

CentOS ファイアウォールメモ

Last updated at Posted at 2019-03-21
firewalld
  • パケットフィルタリング型ファイアウォール管理ツール
  • firewall-cmdにて操作
ファイアウォールの設定確認
# firewall-cmd --list-all
ファイアウォールにおいて特定サービス・ポートを一時許可
# firewall-cmd --add-service=http
# firewall-cmd --add-port=10000/tcp

※恒久的な設定にしたい場合は、「--permanent」を追加

ファイアウォールの設定を再読み込み
# firewall-cmd --reload

※一時許可の場合は不要。
※恒久的な設定を変更をした場合は、本コマンドを実行しないと反映されない。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?