<table class="text"><tbody><tr class="li1">
<td class=”ln”><pre class=”de1″>1
2
3
4
5
6
7
8
9
10
11
firewall-cmd –zone=public –add-port=80/tcp –permanent 命令含义: –zone #作用域 –add-port=80/tcp #添加端口,格式为:端口/通讯协议 –permanent #永久生效,没有此参数重启后失效 重启防火墙 firewall-cmd –reload 查看已经开放的端口 firewall-c
<table class="text"><tbody><tr class="li1">
<td class=”ln”><pre class=”de1″>1
2
3
4
5
6
7
8
9
10
11