EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=588)
-   -   Another - Private login server with public access issues. (https://www.eqemulator.org/forums/showthread.php?t=42859)

3sp87s5 03-28-2020 01:46 PM

Another - Private login server with public access issues.
 
Hi everyone! So not for lack of googling the heck out of this and trying everything that I've found on numerous threads, I'm unable to contact my local login server from outside my home network. To be specific, it won't even connect to show me a list of available servers. I have some questions around my setup and things that I haven't been able to find an answer to in some of the older posts. Behavior locally is fine. I direct my client at the local IP of the server, not a problem. My gut reaction is that there is a firewall problem, but from all the ports that I've read about, I have those covered.

Things to note, this is using Akka's installer for Linux (Ubuntu in my case) as of a couple weeks back.

-Ports forwarded through my firewall:
9080
5998-5999
7000-7100
9000-9001


-When validating whether ports were being successfully forwarded per canyouseeme.org, all ports were passing successfully except 9080....even though there was a rule in place. Which leads me to question whether the server itself is actively listening on that port? Just something to note....

-I flip flopped the Legacy tag as I hear that plays a role in connectivity. I couldn't find a combination that worked.

-I'd like to take the loginserver1 and make that my public access so I tried to remove the login.eqemulator.net and insert my public IP, and no luck there either.

So if ANYONE has a working private login that they've opened up for public access (not by way of login.eqemulator.net) by way of their public IP, please share what changed you applied to the following files, or if there is something additional that I've missed.

Quote:

eqemu_config.json

{
"server" : {
"chatserver" : {
"host" : "192.168.50.103",
"port" : "7778"
},
"database" : {
"db" : "everquest",
"host" : "127.0.0.1",
"password" : "DB PASSWORD",
"port" : "3306",
"username" : "DB USER"
},
"mailserver" : {
"host" : "192.168.50.103",
"port" : "7778"
},
"qsdatabase" : {
"db" : "everquest",
"host" : "127.0.0.1",
"password" : "DB PASSWORD",
"port" : "3306",
"username" : "DB USER"
},
"webinterface" : {
"port" : "9081"
},
"world" : {
"address" : "PUBLIC IP",
"http" : {
"enabled" : "false",
"mimefile" : "mime.types",
"port" : "9080"
},
"key" : "KEY",
"localaddress" : "192.168.50.103",
"loginserver1" : {
"account" : "",
"host" : "login.eqemulator.net",
"legacy" : "1",
"password" : "",
"port" : "5998"
},
"loginserver2" : {
"account" : "",
"host" : "192.168.50.103",
"legacy" : "0",
"password" : "",
"port" : "5998"
},
"longname" : "Glavid's Realm",
"shortname" : "Glavid's Realm",
"tcp" : {
"ip" : "127.0.0.1",
"port" : "9001"
},
"telnet" : {
"enabled" : "true",
"ip" : "0.0.0.0",
"port" : "9000"
}
},
"zones" : {
"defaultstatus" : "0",
"ports" : {
"high" : "7400",
"low" : "7000"
}
}
}
}


Quote:

login.json

{
"account" : {
"auto_create_accounts" : true
},
"client_configuration" : {
"sod_opcodes" : "login_opcodes_sod.conf",
"sod_port" : 5999,
"titanium_opcodes" : "login_opcodes.conf",
"titanium_port" : 5998
},
"database" : {
"db" : "everquest",
"host" : "127.0.0.1",
"password" : "DB PASSWORD",
"port" : "3306",
"user" : "DB USER"
},
"options" : {
"listen_port" : 5998,
"local_network" : "PUBLIC IP"
},
"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" : {
"reject_duplicate_servers" : false,
"unregistered_allowed" : true
}
}


Uleat 03-28-2020 06:20 PM

You show ports 7000-7100 forwarded .. but, the config ranges 7000-7400.

unhing3d 04-12-2020 08:15 PM

hope you get a fix i am having the same issues as you

unhing3d 04-13-2020 06:56 AM

@3sp87s5

Try opening the UDP ports as well, this fixed my issue, which is similar to yours.

3sp87s5 09-18-2020 05:04 PM

I've been asked in PM if I found a solution to my issue which I did. The following are my two config files that have been setup. Keep in mind, the config files work for me with appropriate firewall rules setup....

eqemu_config.json

--------------------------------

{
"server" : {
"chatserver" : {
"host" : "192.168.50.103",
"port" : "7778"
},
"database" : {
"db" : "everquest",
"host" : "127.0.0.1",
"password" : "password",
"port" : "3306",
"username" : "username"
},
"mailserver" : {
"host" : "192.168.50.103",
"port" : "7778"
},
"qsdatabase" : {
"db" : "everquest",
"host" : "127.0.0.1",
"password" : "password",
"port" : "3306",
"username" : "username"
},
"webinterface" : {
"port" : "9081"
},
"world" : {
"address" : "wan(public) ip address here",
"local_address" : "192.168.50.103",
"http" : {
"enabled" : "false",
"mimefile" : "mime.types",
"port" : "9080"
},
"key" : "your key here",
"loginserver1" : {
"account" : "",
"host" : "login.eqemulator.net",
"legacy" : "1",
"password" : "",
"port" : "5998"
},
"loginserver2" : {
"account" : "",
"host" : "192.168.50.103",
"legacy" : "0",
"password" : "",
"port" : "5998"
},
"longname" : "eq server name",
"shortname" : "eq server name",
"tcp" : {
"ip" : "127.0.0.1",
"port" : "9001"
},
"telnet" : {
"enabled" : "true",
"ip" : "0.0.0.0",
"port" : "9000"
}
},
"zones" : {
"defaultstatus" : "0",
"ports" : {
"high" : "7400",
"low" : "7000"
}
}
}

-------------------------------




login.json

--------------------------------------

{
"account" : {
"auto_create_accounts" : true
},
"client_configuration" : {
"sod_opcodes" : "login_opcodes_sod.conf",
"sod_port" : 5999,
"titanium_opcodes" : "login_opcodes.conf",
"titanium_port" : 5998
},
"database" : {
"db" : "everquest",
"host" : "127.0.0.1",
"password" : "password",
"port" : "3306",
"user" : "user"
},
"options" : {
"listen_port" : 5998,
"local_network" : "192.168.50."
},
"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" : {
"reject_duplicate_servers" : false,
"unregistered_allowed" : true
}
}
-----------------------------------


When starting the server, assuming you aren't root, go ahead and run

sudo ./server_start_with_login.sh

That *should work, or at least it did for me.


All times are GMT -4. The time now is 04:09 AM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.