View Single Post
  #1  
Old 08-05-2017, 01:28 PM
Thalix's Avatar
Thalix
Sarnak
 
Join Date: Sep 2016
Posts: 91
Default Please help with private Loginserver on public IP

I have my server up and running with the latest Linux source (Ubuntu 17.04), using the https://github.com/EQEmu/Server#server-installs (using server_source_bots).
I can use the public login server without any problems. Server shows up, I can login and play.

Now I wan't to setup a private loginserver, just in case the public is down.

I was able to build the loginserver, note without adding any crypto libs, they don't seem to be needed any longer. I can login into my private loginserver and it creates accounts in the database, if auto_create_accounts set to true.

Problem: I don't see my server on the selection list, if using the private loginserver. I tried Titanium Client and ROF2, the server list is empty.
EQemu is running on a dedicated server in a datacenter, with the server ip 136.243.xxx.xxx. All ports are open tcp and udp, no firewall.

Please help.


eqemu_config.xm
Code:
/home/eqemu/server # cat eqemu_config.xml
<?xml version="1.0">
<server>
        <world>
                <shortname>AAA Test Server</shortname>
                <longname>AAA Test Server</longname>


                <loginserver1>
                        <legacy>1</legacy>
                        <host>login.eqemulator.net</host>
                        <port>5998</port>
                        <account></account>
                        <password></password>
                </loginserver1>


                <!-- does not work -->
                <!--
                <address>136.243.xxx.xxx</address>
                <localaddress>127.0.0.1</localaddress>
                -->
                <loginserver2>
                        <!-- <host>136.243.xxx.xxx</host> --> <!-- does not work -->
                        <host>127.0.0.1</host>
                        <port>5998</port>
                        <account>Admin</account>
                        <password>Password</password>
                </loginserver2>



                <tcp ip="127.0.0.1" port="9001"/>
                <telnet ip="0.0.0.0" port="9000" enabled="true"/>

                <key>mykey</key>

                <http port="9080" enabled="true" mimefile="mime.types" />
        </world>

        <chatserver>
                <host></host>
                <port>7500</port>
        </chatserver>

        <mailserver>
                <host></host>
                <port>7500</port>
        </mailserver>

        <zones>
        <defaultstatus>0</defaultstatus>

        <ports low="7000" high="7400"/>
        </zones>

        <database>
           <host>localhost</host>
           <port>3306</port>
           <username>eqone_sys</username>
           <password>mydbpassword</password>
           <db>eqone</db>
        </database>

        <qsdatabase>
           <host>localhost</host>
           <port>3306</port>
           <username>eqone_sys</username>
           <password>mydbpassword</password>
           <db>eqone</db>
        </qsdatabase>

        <webinterface>
                <port>9081</port>
        </webinterface>

        <launcher>
        </launcher>

        <files>
        </files>
        <directories>
        </directories>
</server>

login.ini
Code:
cat login.ini
[database]
host = localhost
port = 3306
db = eqone
user = eqone_sys
password = mydbpassword
subsystem = MySQL

[options]
unregistered_allowed = TRUE
reject_duplicate_servers = FALSE
trace = TRUE
world_trace = FALSE
dump_packets_in = FALSE
dump_packets_out = FALSE
listen_port = 5998
local_network = 127.0.0.1
auto_create_accounts = FALSE

[security]
plugin = EQEmuAuthCrypto
mode = 5

[Titanium]
port = 5998
opcodes = login_opcodes.conf

[SoD]
port = 5999
opcodes = login_opcodes_sod.conf

[schema]
account_table = tblLoginServerAccounts
world_registration_table = tblWorldServerRegistration
world_admin_registration_table = tblServerAdminRegistration
world_server_type_table = tblServerListType


database
Code:
select ServerID,ServerLongName,ServerShortName,ServerListTypeID,ServerLastIPAddr,ServerAdminID,ServerTrusted from tblWorldServerRegistration;
1, My Test Server, MTST, 1, 0.0.0.0, 1,0
Code:
select * from tblServerAdminRegistration;
1, Admin, Password, Tom, Wilson, Tom.Wilson@gmail.com, 2017-08-05 18:42:18, 0.0.0.0

emtpy server list...
Code:
Login Server] New SoD client connection from 178.202.xx.xx:55296
[Login Server] Application packet received from client (size 14)
[Login Server] Session ready received from client.
[Login Server] Application packet received from client (size 36)
[Login Server] Login received from client.
[Login Server] Application packet received from client (size 12)
[Login Server] Server list request received from client.
[Login Server] Application packet received from client (size 12)
[Login Server] Client disconnected from the server, removing client.
Maybe with the new Netcode, the login.ini "plugin = EQEmuAuthCrypto" is wrong?
Reply With Quote