1.開放指定源IP和目的端口的放行策略
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.1.2" port protocol="tcp" port="8080" accept"
1.開放指定源IP和目的端口的放行策略
firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.1.2" port protocol="tcp" port="8080" accept"
點擊上方“框架師”,選擇“置頂公衆號” 我們一起學習進步! 正文 引言 本文來自個人學習筆記,希望有幫助到你,未經授權,禁止複製修改
Centos7防火牆配置rich-rule實現IP端口限制訪問 2019-02-18 18:05:35 sunny05296 閱讀數 2143 收藏 更多 分類專欄: Linux 版