CentOS7 中使用 firewall-cmd端口轉發以及經常使用命令

端口轉發 html 1.開放8056端口: tcp firewall-cmd --add-port=8056/tcp2.二轉發端口,將本服務的8056端口轉發到ip地址爲XXX.XX.XX.XXX的3356端口上,只能使用IP地址,不能使用主機名: firewall-cmd --permanent --zone=public --add-forward-port=port=8056:proto=t
相關文章
相關標籤/搜索