PDA

View Full Version : Config Ip Wan trong Server CoLinux



taizero30
07-10-11, 11:33 AM
ai biết chỉ giùm mình với.
mình để ip localhost thì ok.
những đến khi để ip wan vào thì chạy server báo lôi.
ai biết cách config ip wan ở những chỗ nào thì giúp mình với.
cám ơn rất nhiều.

nhactre8x
08-10-11, 02:39 AM
đây nè tk đi .:D

DB/guard_user.ini

[Guard]
ApplicationName="db_server"
ApplicationConfigName="db_server_user.ini"
GuardPort=9008
PublishServerIP="LAN IP"
PublishServerPort=9009
DeadLoopTime=0
RebootTimeWhenShutdown=16
RebootTimeWhenDeadLoop=16
StartAppRightAwayFlag=1


login/guard_user.ini


[Guard]
ApplicationName="db_server"
ApplicationConfigName="db_server_user.ini"
GuardPort=9008
PublishServerIP="LAN IP"
PublishServerPort=9009
DeadLoopTime=0
RebootTimeWhenShutdown=16
RebootTimeWhenDeadLoop=16
StartAppRightAwayFlag=1


login/login_user.ini
[list]


Capability = "3000"
ListenIp = "LAN IP"
ListenPort = "8888"
[user]
Capability = "2000"
ListenIp = "LAN IP"
ListenPortal = "WAN IP"
ListenPort = "8885"
StateLev1 = 500
StateLev2 = 1000
[server]
Capability = "64"
ListenIp = "LAN IP"
ListenPort = "9002"
[db]
BindIP = ""
BindPort = ""
ConnectIp = "127.0.0.1"
ConnectPort = "9006"
[billing]
use = false
ConnectIp = "127.0.0.1"
ConnectPort = "9020"
Description = ""
GuardPort = "8002"
UseGuard = "false"
[Login]
Name="login_OPT"
Accept="a7aaaa"
[autostat]
Enable = false
[licenseport]
port = 9101
[licenseserver]
sv1 = "WAN IP"


game/user_guar.ini


[Guard]
game_server"
ApplicationConfigName="server_user.ini"
GuardPort=9008
PublishServerIP="LAN IP"
PublishServerPort=9009
DeadLoopTime=0
RebootTimeWhenShutdown=16
RebootTimeWhenDeadLoop=16
StartAppRightAwayFlag=1


game/server_user.ini
[client]
Capability = "2000"
UseGate = "false"
ListenIp = "LAN IP"
ListenPortal = "WAN IP"
ListenPort = "8886"
[login]
BindIP = ""
BindPort = ""
ConnectIp = "LAN IP"
ConnectPort = "9002"
[game_db]
BindIP = ""
BindPort = ""
ConnectIp = "127.0.0.1"
ConnectPort = "9006"
[log_db]
BindIP = ""
BindPort = ""
ConnectIp = "127.0.0.1"
ConnectPort = "9006"
[server]
Description = "test_server"
name = "Server"
location = "WAN IP"
Idx = 1
Order = 1
ListPv = 0
[anti_robot]
OpenFlag = "false"
ClientDetect = "false"
StartAuto = "false"
EctypeAskFlag = "false"
[licenseport]
port = 9101
[licenseserver]
sv1 = "WAN IP"
sv2 = "WAN IP"
sv3 = "WAN IP"

private
28-10-11, 09:20 PM
ssaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaa
DB/guard_user.ini

[Guard]
ApplicationName="db_server"
ApplicationConfigName="db_server_user.ini"
GuardPort=9008
PublishServerIP="LAN IP"
PublishServerPort=9009
DeadLoopTime=0
RebootTimeWhenShutdown=16
RebootTimeWhenDeadLoop=16
StartAppRightAwayFlag=1


login/guard_user.ini


[Guard]
ApplicationName="db_server"
ApplicationConfigName="db_server_user.ini"
GuardPort=9008
PublishServerIP="LAN IP"
PublishServerPort=9009
DeadLoopTime=0
RebootTimeWhenShutdown=16
RebootTimeWhenDeadLoop=16
StartAppRightAwayFlag=1


login/login_user.ini[list]


Capability = "3000"
ListenIp = "LAN IP"
ListenPort = "8888"
[user]
Capability = "2000"
ListenIp = "LAN IP"
ListenPortal = "WAN IP"
ListenPort = "8885"
StateLev1 = 500
StateLev2 = 1000
[server]
Capability = "64"
ListenIp = "LAN IP"
ListenPort = "9002"
[db]
BindIP = ""
BindPort = ""
ConnectIp = "127.0.0.1"
ConnectPort = "9006"
[billing]
use = false
ConnectIp = "127.0.0.1"
ConnectPort = "9020"
Description = ""
GuardPort = "8002"
UseGuard = "false"
[Login]
Name="login_OPT"
Accept="a7aaaa"
[autostat]
Enable = false
[licenseport]
port = 9101
[licenseserver]
sv1 = "WAN IP"


game/user_guar.ini


[Guard]
game_server"
ApplicationConfigName="server_user.ini"
GuardPort=9008
PublishServerIP="LAN IP"
PublishServerPort=9009
DeadLoopTime=0
RebootTimeWhenShutdown=16
RebootTimeWhenDeadLoop=16
StartAppRightAwayFlag=1


game/server_user.ini
[client]
Capability = "2000"
UseGate = "false"
ListenIp = "LAN IP"
ListenPortal = "WAN IP"
ListenPort = "8886"
[login]
BindIP = ""
BindPort = ""
ConnectIp = "LAN IP"
ConnectPort = "9002"
[game_db]
BindIP = ""
BindPort = ""
ConnectIp = "127.0.0.1"
ConnectPort = "9006"
[log_db]
BindIP = ""
BindPort = ""
ConnectIp = "127.0.0.1"
ConnectPort = "9006"
[server]
Description = "test_server"
name = "Server"
location = "WAN IP"
Idx = 1
Order = 1
ListPv = 0
[anti_robot]
OpenFlag = "false"
ClientDetect = "false"
StartAuto = "false"
EctypeAskFlag = "false"
[licenseport]
port = 9101
[licenseserver]
sv1 = "WAN IP"
sv2 = "WAN IP"
sv3 = "WAN IP"