蓝同学

成名每在穷苦日,败事多因得志时。

firewalld 添加规则 GET新方法

编辑   vim   /etc/firewalld/zones/public.xml

编辑前记得先备份~     

        <rule family="ipv4">
        <source address="ip地址,可以写段"/>
      <port port="端口" protocol="TCP/UDP"/>
       <accept/>
     </rule>

 


发表评论: