久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      怎么查看centos7開放了哪些端口

      在centos7中,可以利用“firewalld-cmd”查看已經(jīng)開放了的端口,“firewalld-cmd”可以顯示防火墻相關(guān)的配置信息,語法為“firewall-cmd –zone=public –list-ports”。

      怎么查看centos7開放了哪些端口

      本文操作環(huán)境:centos 7系統(tǒng)、Dell G3電腦。

      怎么查看centos7開放了哪些端口

      可以利用firewall-cmd –zone=public –list-ports命令查看所有打開的端口

      centos7版本對防火墻進(jìn)行加強,不再使用原來的iptables,啟用firewalld

      示例如下:

      • 配置firewalld-cmd

      • 查看版本: firewall-cmd –version

      • 查看幫助: firewall-cmd –help

      • 顯示狀態(tài): firewall-cmd –state

      • 查看所有打開的端口: firewall-cmd –zone=public –list-ports

      • 更新防火墻規(guī)則: firewall-cmd –reload

      • 查看區(qū)域信息: firewall-cmd –get-active-zones

      • 查看指定接口所屬區(qū)域: firewall-cmd –get-zone-of-interface=eth0

      • 拒絕所有包:firewall-cmd –panic-on

      • 取消拒絕狀態(tài): firewall-cmd –panic-off

      • 查看是否拒絕: firewall-cmd –query-panic

      你可以使用任何一種firewalld配置工具來配置區(qū)域和防火墻策略。

      拓展知識:

      怎么查看centos7開放了哪些端口

      推薦教程:《centos教程》

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號