原帖由 "legumer" 发表:
iptables -t nat -A PREROUTING -p tcp --dport 80 -i eth0 -j DNAT --to-destination 192.168.1.103
做了以后,也不齐作用。
原帖由 "legumer" 发表:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE 还有的。
prerouting我没有做。我先做个看看。
绘图1.gif (20.05 KB, 下载次数: 99)
iptables -t nat -A PREROUTING -p tcp --dport 80 -i eth0 -j DNAT --to-destination 192.168.1.103
做了以后,也不齐作用。
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |