端口转发:
firewall-cmd --add-port=80/tcp
firewall-cmd --add-port=10050/tcp
firewall-cmd --add-forward-port=port=80:proto=tcp:toport=10050 # 将80端口的流量转发至10050
firewall-cmd --add-forward-port=proto=80:proto=tcp:toaddr=192.168.1.0.1 # 将80端口的流量转发至192.168.0.1
firewall-cmd --add-forward-port=proto=80:proto=tcp:toaddr=192.168.0.1:toport=8080 # 将80端口的流量转发至192.168.0.1的8080端口