CentOS 7 設定防火牆區分對外(public)與對內(trusted) 發佈日期: 2018-05-31 Last Updated on 2018-05-31 by william CentOS 7 預設防火牆的區域為public , 若我們有兩個網路卡, 一個接內部一個接外部. 這時候就必須區分內外, 對外還是public , 對內就是trusted 使用ifconfig 找出對內網卡代號 xxx firewall-cmd --permanent --zone=trusted --change-interface=xxx firewall-cmd --reload 分類:技術 centosfirewall
搶先發佈留言