firewalld インストール
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[CentOS7]]
*firewalld インストール [#z11b4ba1]
**IPTABLES停止 [#k3a32700]
|BGCOLOR(black):COLOR(white):|c
|[root@centos ~]# systemctl stop iptables|
|[root@centos ~]# systemctl disable iptables|
|[root@centos ~]# systemctl is-enabled iptables|
**firewalldインストール [#pb26eec5]
|BGCOLOR(black):COLOR(white):|c
|[root@centos ~]# yum -y install firewalld|
|[root@centos ~]# systemctl start firewalld|
|[root@centos ~]# systemctl enable firewalld|
|[root@centos ~]# systemctl is-enabled firewalld|
|enabled|
|[root@centos ~]# firewall-cmd --list-all &color(lime){←...
|public (default) &br; interfaces: &br; sources: &br; ...
**ポート開放 [#h246992d]
|BGCOLOR(black):COLOR(white):|c
|[root@centos ~]# firewall-cmd --permanent --zone=public ...
|[root@centos ~]# firewall-cmd --permanent --zone=public ...
|[root@centos ~]# firewall-cmd --permanent --zone=public ...
|[root@centos ~]# firewall-cmd --permanent --zone=public ...
|[root@centos ~]# firewall-cmd --permanent --zone=public ...
|[root@centos ~]# firewall-cmd --permanent --zone=public ...
|[root@centos ~]# firewall-cmd --reload &color(lime){←設...
終了行:
[[CentOS7]]
*firewalld インストール [#z11b4ba1]
**IPTABLES停止 [#k3a32700]
|BGCOLOR(black):COLOR(white):|c
|[root@centos ~]# systemctl stop iptables|
|[root@centos ~]# systemctl disable iptables|
|[root@centos ~]# systemctl is-enabled iptables|
**firewalldインストール [#pb26eec5]
|BGCOLOR(black):COLOR(white):|c
|[root@centos ~]# yum -y install firewalld|
|[root@centos ~]# systemctl start firewalld|
|[root@centos ~]# systemctl enable firewalld|
|[root@centos ~]# systemctl is-enabled firewalld|
|enabled|
|[root@centos ~]# firewall-cmd --list-all &color(lime){←...
|public (default) &br; interfaces: &br; sources: &br; ...
**ポート開放 [#h246992d]
|BGCOLOR(black):COLOR(white):|c
|[root@centos ~]# firewall-cmd --permanent --zone=public ...
|[root@centos ~]# firewall-cmd --permanent --zone=public ...
|[root@centos ~]# firewall-cmd --permanent --zone=public ...
|[root@centos ~]# firewall-cmd --permanent --zone=public ...
|[root@centos ~]# firewall-cmd --permanent --zone=public ...
|[root@centos ~]# firewall-cmd --permanent --zone=public ...
|[root@centos ~]# firewall-cmd --reload &color(lime){←設...
ページ名: