firewalld對指定IP開放指定端口

1. 添加防火牆規則(對指定ip開放指定端口) 添加防火牆規則web // Postgresql端口設置。容許192.168.142.166訪問5432端口 # firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="192.168.142.166" port port="5432" protocol
相關文章
相關標籤/搜索