路由器详细设置
虽然路由器品牌很多但里面的英文设置差不多这几个字
DrayTek
1.Advanced Setup >>
2.NAT Setup>>
3.Configure Port Redirection Table >>
Index Service Name Protocol Public Port Private IP Private Port Active
1 7000 TCP 7000 192.168.0.200 7000 √
2 7100 TCP 7100 192.168.0.200 7100 √
3 7200 TCP 7200 192.168.0.200 7200 √
4 21 TCP 21 192.168.0.200 21 √
5 80 TCP 80 192.168.0.200 80 √
6 4321 TCP 4321 192.168.0.200 4321 √
d:\MirServer\Gate_Server\LoginGate\MirGate.ini
[server]
Color=GREEN
Title='账号登录管理器'
ServerPort=5500
GatePort=7000
index=0
Server1=192.168.0.200
Server2=
Server3=
Server4=
Server5=
d:\MirServer\Gate_Server\RunGate\MirGate.ini
[server]
Color=GREEN
Title='角色在线管理器'
ServerPort=5000
GatePort=7200
index=0
Server1=192.168.0.200
Server2=
Server3=
Server4=
Server5=
d:\MirServer\Gate_Server\SelChrGate\MirGate.ini
[server]
Color=Green
Title='选择角色管理器'
ServerPort=5100
GatePort=7100
index=0
Server1=192.168.0.200
Server2=
Server3=
Server4=
Server5=
d:\MirServer\Mud2\LogSrv\!AddrTable.txt
; 标识 本机IP 主机IP 网络IP:端口
1 192.168.0.200 61.153.227.136 61.153.227.136:7100
d:\MirServer\Mud2\LogSrv\!ServerAddr.txt
192.168.0.200
192.168.0.200
192.168.0.200
d:\MirServer\Mud2\LogSrv\LogSrv.ini
[server]
DBServer=192.168.0.200
DBSPort=16300
FeePort=16301
LogPort=16302
ReadyServers=0
EnableMakingID=TRUE
EnableTrial=FALSE
CountLogDir=D:\MirServer\Mud2\Logsrv\CountLog\
WebLogDir=D:\MirServer\Share\GameWFolder\
FeedIDList=D:\MirServer\Share\Feed\FeedIDList.txt
FeedIPList=D:\MirServer\Share\Feed\FeedIPList.txt
[DB]
IDDir='.\IDDB'
d:\MirServer\Mud2\DBSrv200\!AddrTable.txt
192.168.0.200 61.153.227.136
d:\MirServer\Mud2\DBSrv200\!ServerInfo.txt
192.168.0.200 61.153.227.136 7200
d:\MirServer\Mud2\DBSrv200\DBSrc.ini
[Setup]
ServerName=
Port=6000
MapFile=D:\MirServer\Mir200\Envir\MapInfo.txt
ViewHackMsg=0
IDSAddr=192.168.0.200
[Server]
;数据库管理配置
IDSAddr=192.168.0.200
IDSPort=5600
[DB]
Dir=D:\MirServer\Mud2\DBsrv200\FDB\
IDDir=D:\MirServer\Mud2\DBsrv200\FDB\
HumDir=D:\MirServer\Mud2\DBsrv200\FDB\
FeeDir=D:\MirServer\Mud2\DBsrv200\FDB\
Backup=D:\MirServer\Mud2\DBsrv200\Backup\
ConnectDir=D:\MirServer\Mud2\DBsrv200\Connection\
LogDir=D:\MirServer\Mud2\DBsrv200\Log\
d:\MirServer\Mir200\!RunAddr.txt
192.168.0.200
*:\MirServer\Mir200\!ServerTable.txt
;IP配置
;-----------------------------------------
;编号 IP 端口 IP 端口
0 192.168.0.200 7200
d:\MirServer\Mir200\!SetUp.txt
[Server]
ServerIndex=0
ServerName=
ServerNumber=0
VentureServer=False
TestServer=TRUE
TestLevel=1
TestGold=1000
TestServerUserLimit=1000
ServiceMode=False
NonPKServer=False
DBAddr=192.168.0.200
DBPort=6000
IDSAddr=192.168.0.200
IDSPort=5600
MsgSrvAddr=192.168.0.200
MsgSrvPort=4900
HumLimit=30
MonLimit=30
ZenLimit=30
NpcLimit=5
SocLimit=30
DecLimit=10
UserFull=200
ZenFastStep=300
SendBlock=1000
CheckBlock=8000
AvailableBlock=250
GateLoad=0
LogServerAddr=192.168.0.200
LogServerPort=10000
ViewHackMessage=TRUE
ViewAdmissionFailure=TRUE
;HalfFeeStart=2
;HalfFeeEnd=10
[Share]
BaseDir=D:\Mirserver\Mir200\Share\
GuildDir=D:\Mirserver\Mir200\GuildBase\Guilds\
GuildFile=D:\Mirserver\Mir200\GuildBase\Guildlist.txt
VentureDir=D:\Mirserver\Mir200\ShareV\
ConLogDir=D:\Mirserver\Mir200\ConLog\
CastleDir=D:\Mirserver\Mir200\Envir\Castle\
EnvirDir=D:\Mirserver\Mir200\Envir\
MapDir=D:\Mirserver\Mir200\Map\
[Setup]
ClientFile1=mir.dat
ClientFile2=
ClientFile3=
ItemNumber=103521
HomeMap=0
HomeX=289
HomeY=618
[Names]
ClothsMan='布衣(男)'
ClothsWoman='布衣(女)'
WoodenSword='木剑'
Candle='蜡烛'
BasicDrug='金创药(小量)'
GoldStone='金矿'
SilverStone='银矿'
SteelStone='铁矿'
CopperStone='铜矿'
BlackStone='黑铁矿石'
Zuma1='祖玛卫士'
Zuma2='祖玛雕像'
Zuma3='祖玛弓箭手'
Zuma4='楔蛾'
Bee='蝙蝠'
Spider='爆裂蜘蛛'
WomaHorn='沃玛号角'
ZumaRelic='祖玛头像'
Necklace='祈祷项链'
Ring='祈祷戒指'
Weapon='祈祷之刃'
Armring='祈祷手镯'
Helmet='祈祷头盔'
Archer='弓箭手'
Guard='护卫'
第二种映射方法
以下是通过网络朋友指点测试成功并且现在在用的设置
我的外网固定IP是61.153.227.136,网吧主机(网关)IP是192.168.0.1
我做的主机IP是192.168.0.200
请将gate_server下的3个程序运行网吧主机(192.168.0.1)的机子上
其他4个程序运行在你192.168.0.200的机子上。
运行的时候先运行gate_server的3个程序,后运行4F上的4个程序!
改IP的方法如下:
网关机器上IP设置为
d:\gate_server\LoginGate\Mirgate.ini
192.168.0.200
d:\gate_server\RunGate\Mirgate.ini
192.168.0.200
d:\gate_server\SelChrGate\Mirgate.ini
192.168.0.200
上IP设置为
d:\mirserver\Mir200\!Runaddr.txt
192.168.0.200
d:\mirserver\Mir200\!Setup.txt
192.168.0.200 总共有4个192.168.0.200
d:\mirserver\Mir200\!Servertable.txt
;IP配置
;-----------------------------------------
;编号 IP 端口 IP 端口
0 61.153.227.136 7200
d:\mirserver\mud2\DBSrv200\!serverinfo.txt
192.168.0.1 61.153.227.136 7200
d:\mirserver\mud2\DBSrv200\Dbsrc.ini
192.168.0.200
d:\mirserver\mud2\LogSrv\!addrtable.txt
Line1-100 192.168.0.1 61.153.227.136 61.153.227.136:7100
d:\mirserver\mud2\LogSrv\!serveraddr.txt
192.168.0.200
192.168.0.200
192.168.0.200
192.168.0.1
d:\mirserver\mud2\LogSrv\Logsrv.ini
192.168.0.200