最常用的转发,从 192.168.1.21:59388 转发到 192.168.1.20:5938pro='tcp' NAT_Host='192.168.1.21' NAT_Port=5938 Dst_Host='192.168.1.20' Dst_Port=5938 iptables -t nat -A PREROUTING -m $pro -p $pro --dport $NAT_Port -j DNAT --to-destination $Dst_Host:$Dst_Port iptables -t nat -A POSTROUTING -m $pro -p $pro --d
Read More →