PDA

View Full Version : Semi-Complex network setup with MiniLogin


lampemu
07-19-2009, 03:01 PM
Hey all, I am having some trouble with a few network related issues and MiniLogin.

First: Is there any way to let two PCs from the same router connect to your server over the internet on two different accounts? Right now it just logs the second user into the first account and if they zone it disconnects the first character.

Second: Is there any way to let external users access the LoginServer over the internet, and still be able to log onto the server from a local ip? For example, you would have a GM account that connects from 192.168.1.21 to a server at 192.168.1.143 which also can be reached over the internet from a public ip address.

Right now when trying to connect locally the ip address shows up correctly in minilogin (192.168.1.21) but in the server log it shows as trying to connect with my routers ip (192.168.1.1)

Basically my users look like this,

My LAN

[user 1] ----[server]-------[user 2]

-----------------|----------------
INTERNET
-----------------|----------------

[user 3]-----[user 4]

Second LAN

Thanks, if anyone has any advice please let me know.

lampemu
07-19-2009, 03:13 PM
LoginServer.ini


[LoginServer]
loginserver=public_ip
loginport=5999
worldname=Server Name
worldaddress=public_ip
locked=false
account=
password=

[WorldServer]
Defaultstatus=
Unavailzone=

[ChatChannelServer]
worldshortname=
chataddress=
chatport=

[LoginConfig]
ServerMode=MiniLogin
ServerPort=5999


eqemuconfig.xml

<?xml version="1.0">
<server>
<world>
<shortname>server</shortname>
<longname>Server Name</longname>

<!-- Only specify these two if you really think you need to. (read: You don't) -->
<address>public_ip</address>
<localaddress>192.168.1.143</localaddress>

<!-- Loginserver information. Defaults shown -->
<loginserver>
<host>192.168.1.143</host>
<port>5999</port>
<account></account>
<password></password>
</loginserver>

<!-- Server status. Default is unlocked -->
<!--<locked/>-->
<!-- <unlocked/> -->

<!-- Sets the ip/port for the tcp connections. Both zones and console (if enabled). Defaults are shown -->
<tcp ip="localhost" port="9000" telnet="disable"/>

<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>kiw9083wdfgesiwud</key>

<!-- Enable and set the port for the HTTP service. Defaults are shown -->
<http port="9080" enabled="false" mimefile="mime.types" />
</world>

<!-- Chatserver (channels) information. Defaults shown -->
<chatserver>
<host>channels.eqemulator.net</host>
<port>7778</port>
</chatserver>

<!-- Mailserver (in-game mail) information. Defaults shown -->
<mailserver>
<host>channels.eqemulator.net</host>
<port>7779</port>
</mailserver>

<zones>
<defaultstatus>20</defaultstatus>

<!-- Sets port range for world to use to auto configure zones -->
<ports low="7000" high="7100"/>
</zones>

<!-- Database configuration, replaces db.ini. Defaults shown -->
<database>
<host>localhost</host>
<port>3306</port>
<username>eqemu</username>
<password>password</password>
<db>database</db>
</database>

<!-- Launcher Configuration -->
<launcher>
<!-- <logprefix>logs/zone-</logprefix> -->
<!-- <logsuffix>.log</logsuffix> -->
<!-- <exe>zone.exe or ./zone</exe> -->
<!-- <timers restart="10000" reterminate="10000"> -->
</launcher>

<!-- File locations. Defaults shown -->
<files>
<!-- <spells>spells_us.txt</spells> -->
<!-- <opcodes>opcodes.conf</opcodes> -->
<!-- <logsettings>log.ini</logsettings> -->
<!-- <eqtime>eqtime.cfg</eqtime> -->
</files>
<!-- Directory locations. Defaults shown -->
<directories>
<!-- <maps>Maps</maps> -->
<!-- <quests>quests</quests> -->
<!-- <plugins>plugins</plugins> -->
</directories>
</server>