社區網路可以玩aoc嗎



贊助商連結


Ecat
2002-05-26, 04:16 PM
我朋友市社區網路 ~ 但好像是虛擬ip
請問有解決的辦法嗎 ?

贊助商連結


Ecat
2002-05-26, 04:41 PM
我再某個網站找到解決辦法 請問有人可以幫我翻譯嗎 QQ
Here is a sample shell script which i (actually my brother :) use to play Age of Empires II (Age of Kings or The Conquerors) over the Zone. It should work just fine if you have all the needed kernel modules installed. Bear in mind it uses IPTables. --- Cut here --- #!/bin/sh echo -e " Loading aoe2fw.. " IPTABLES=/usr/sbin/iptables # Make sure this is the path to your iptables # (find it with 'whereis iptables' at your shell) EXTIF="ippp0" # The external interface, the interface that's connected to the Internet INTIF="eth0" # The internal interface, an ethernet card connected to your LAN hub/switch echo " External Interface: $EXTIF" echo " Internal Interface: $INTIF" PORTFWIP=192.168.0.3 # IP address of the machine you're going to play the game on. echo " Incoming Directplay/MSN Gaming Zone packets will be forwarded to $PORTFWIP" # All the neat stuff $IPTABLES -t nat -A PREROUTING -p tcp --dport 2300:2400 -i $EXTIF -j DNAT --to $PORTFWIP $IPTABLES -t nat -A PREROUTING -p udp --dport 2300:2400 -i $EXTIF -j DNAT --to $PORTFWIP $IPTABLES -t nat -A PREROUTING -p tcp --dport 28800:29000 -i $EXTIF -j DNAT --to $PORTFWIP $IPTABLES -t nat -A PREROUTING -p tcp --dport 47624 -i $EXTIF -j DNAT --to $PORTFWIP $IPTABLES -t nat -A PREROUTING -p udp --dport 6073 -i $EXTIF -j DNAT --to $PORTFWIP $IPTABLES -A FORWARD -p tcp -d $PORTFWIP --dport 2300:2400 -j ACCEPT $IPTABLES -A FORWARD -p udp -d $PORTFWIP --dport 2300:2400 -j ACCEPT $IPTABLES -A FORWARD -p tcp -d $PORTFWIP --dport 28800:29000 -j ACCEPT $IPTABLES -A FORWARD -p tcp -d $PORTFWIP --dport 47624 -j ACCEPT $IPTABLES -A FORWARD -p udp -d $PORTFWIP --dport 6073 -j ACCEPT echo -e " aoe2fw done. " --- End cut --- If you got any problems/questions, please feel free to mail [email protected]

potty1
2002-05-26, 11:34 PM
社區網路確定可以玩aoc啦...cs...等....都可以喔....