Hello,
From the LAN, I am able to log into the local logon server, create a character, and log in and play with no problems.
From the WAN, a user can still connect, create an account and create a character, but when they press "Enter World", the client disconnects and dumps them to the server select screen.
Here is a copy of the server's eqemu_config.json file:
Code:
{
"server" : {
"chatserver" : {
"host" : "PUBLICWANIPADDRESS",
"port" : "7778"
},
"database" : {
"db" : "peq",
"host" : "127.0.0.1",
"password" : "*****",
"port" : "3306",
"username" : "****"
},
"directories" : {
"opcodes" : "assets/opcodes/",
"patches" : "assets/patches/"
},
"files" : {
"mail_opcodes" : "assets/opcodes/mail_opcodes.conf",
"opcodes" : "assets/opcodes/opcodes.conf"
},
"mailserver" : {
"host" : "PUBLICWANIPADDRESS",
"port" : "7778"
},
"qsdatabase" : {
"db" : "peq",
"host" : "127.0.0.1",
"password" : "*****",
"port" : "3306",
"username" : "****"
},
"world" : {
"address" : "PUBLICWANIPADDRESS",
"key" : "********************************",
"loginserver1" : {
"account" : "*******",
"host" : "login.eqemulator.net",
"legacy" : "1",
"password" : "***********",
"port" : "5998"
},
"loginserver2" : {
"account" : "",
"host" : "PUBLICWANIPADDRESS",
"legacy" : "0",
"password" : "",
"port" : "5998"
},
"loginserver3" : {
"account" : "",
"host" : "login.projecteq.net:5998",
"legacy" : "1",
"password" : "",
"port" : "5998"
},
"longname" : "Bad Omen PEQ Server (Private)",
"shortname" : "BO Server",
"tcp" : {
"ip" : "127.0.0.1",
"port" : "9001"
},
"telnet" : {
"enabled" : "true",
"ip" : "PUBLICWANIPADDRESS",
"port" : "9000"
}
},
"zones" : {
"defaultstatus" : "0",
"ports" : {
"high" : "7400",
"low" : "7000"
}
}
}
}
The login.json file looks like this:
Code:
{
"account" : {
"auto_create_accounts" : true
},
"client_configuration" : {
"sod_opcodes" : "assets/opcodes/login_opcodes_sod.conf",
"sod_port" : 5999,
"titanium_opcodes" : "assets/opcodes/login_opcodes.conf",
"titanium_port" : 5998
},
"database" : {
"db" : "peq",
"host" : "127.0.0.1",
"password" : "*****",
"port" : "3306",
"user" : "*****"
},
"logging" : {
"dump_packets_in" : false,
"dump_packets_out" : false,
"trace" : false,
"world_trace" : false
},
"security" : {
"allow_password_login" : true,
"allow_token_login" : true,
"mode" : 14
},
"web_api" : {
"enabled" : true,
"port" : 6000
},
"worldservers" : {
"dev_test_servers_list_bottom" : false,
"reject_duplicate_servers" : false,
"show_player_count" : true,
"special_character_start_list_bottom" : false,
"unregistered_allowed" : true
}
}
I look in the logs show something interesting, which may be some confusion with Network address translation... I'm not sure what to do about it though at this point.
Code:
[Login] [Info] New SoD+ client connection from [IPOFCLIENT]
[Login] [Info] Attempting password based login [ACCOUNTNAME] login [local]
[Login] [Info] login [local] user [ACCOUNTNAME] Login succeeded
[Login] [Info] Client authentication response: world_address [INTERNALROUTERIP] client_address [IPOFCLIENT]
[Login] [Info] Sending Client Authentication Response ls_account_id [27] ls_name [local] name [ACCOUNTNAME] key [**********] ls_admin [0] world_admin [0] ip [IPOFCLIENT] local [0]
[Login] [Info] Client disconnected from the server, removing client
Is it right that the internaal router IP address show up as the world_address?
I have tried looking through other posts, but most of them contain outdated references or don't have a solution to this problem. Would anyone be willing to help me out with figuring this out?
Thanks.