rhel7-firewalld端口轉發

firewall-cmd --add-service=http #容許http協議經過防火牆 tcp firewall-cmd --add-forward-port=port=80:proto=tcp:toport=8080 --permanent #在默認防火牆域下,將訪問80端口的tcp協議轉到8080端口。spa firewall-cmd --reload #從新加載防火牆配置,不會斷掉已經
相關文章
相關標籤/搜索