iptables 端口转发
查看:
iptables -t nat -nL --line
端口转发:
iptables -t nat -A PREROUTING -p tcp --dport 9000 -j DNAT --to-destination 172.17.0.4:9000
查看:
iptables -t nat -nL --line
端口转发:
iptables -t nat -A PREROUTING -p tcp --dport 9000 -j DNAT --to-destination 172.17.0.4:9000
评论