封包轉送
發表於 : 2004-11-23 17:36:27
iptables -A PREROUTING -t nat -p tcp -s xx.xx.xx.xx -d oo.oo.oo.oo --dport 1433 -j DNAT --to-destination zzz.zzz.zzz.zzz
iptables -A PREROUTING -t nat -p tcp -s xx.xx.xx.xx -d oo.oo.oo.oo --dport 1434 -j DNAT --to-destination zzz.zzz.zzz.zzz
iptables -A PREROUTING -t nat -p tcp -s xx.xx.xx.xx -d oo.oo.oo.oo --dport 1434 -j DNAT --to-destination zzz.zzz.zzz.zzz