|
发表于 2003-11-19 10:01:11
|
显示全部楼层
端口转发
/sbin/iptables -t nat -A PREROUTING -p tcp -i ppp0 --dport 80 -j DNAT --to 192.168.0.3:80
/sbin/iptables -t nat -A PREROUTING -p tcp -i ppp0 --dport 25 -j DNAT --to 192.168.0.2:25
/sbin/iptables -t nat -A PREROUTING -p tcp -i ppp0 --dport 110 -j DNAT --to 192.168.0.2:110
|
|