|

楼主 |
发表于 2006-12-28 12:55:45
|
显示全部楼层
Post by kevin.tan
在iptables中将端口映射到你的IP
iptables -t nat -A PREROUTING -i $exit_interface -p tcp -m tcp --dport 4662 -j DNAT --to $your_ip:4662
iptables -t nat -A PREROUTING -i $exit_interface -p udp -m udp --dport 4672 -j DNAT --to $your_ip:4672
我用的是ADSL,每次使用的IP不一样,能告诉我更详细点吗?
your_ip:4672,这个怎么写? |
|