日期:2014-05-16 浏览次数:20702 次
eth0 inet addr:10.144.7.195 Bcast:10.144.15.255 Mask:255.255.240.0
eth1 inet addr:115.28.9.163 Bcast:115.28.11.255 Mask:255.255.252.0
eth0 inet addr:10.144.7.191 Bcast:10.144.15.255 Mask:255.255.240.0
iptables -t nat -A PREROUTING -m tcp -p tcp --dport 19122 -j DNAT --to-destination 10.144.7.191:22
iptables -t nat -A POSTROUTING -m tcp -p tcp --dport 19122 -d 10.144.7.191 -j SNAT --to-source 115.28.9.163