このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
01_linux:21_centos7:05_firewalld [2021/04/07 21:34] – matsui | 01_linux:21_centos7:05_firewalld [2022/07/14 05:27] (現在) – matsui | ||
---|---|---|---|
行 69: | 行 69: | ||
< | < | ||
# firewall-cmd --remove-service=https --zone=public | # firewall-cmd --remove-service=https --zone=public | ||
+ | </ | ||
+ | |||
+ | ===== ポート単位 ===== | ||
+ | |||
+ | ==== 開放 ==== | ||
+ | |||
+ | < | ||
+ | firewall-cmd --add-port=8080/ | ||
+ | </ | ||
+ | |||
+ | ==== 削除 ==== | ||
+ | |||
+ | < | ||
+ | firewall-cmd --remove-port=8080/ | ||
</ | </ | ||