PDA

View Full Version : difficulties with mini-login and external ip


rabidalien
08-01-2006, 07:47 AM
Hi all !

I have a small problem i hope someone might be able to help me with. I am able to run EQEMU from behind my router using seperate computers for accounts and server, however im having difficulties setting up mini-login for external connection. I went through the forums and guides for NAT and did my best to duplicate and follow them but still no luck...Below are my configurations...In addition to these and trying different schemes I also did a port forward on the router which is 192.168.2.101, TCP+UDP, 5999 and setup the accounts properly using mysqlcc. I know im doing something wrong just not what.

1. I setup account at no-ip.org (name.no-ip.org)

2. on the Server CPU for windows hosts file i have

127.0.0.1 localhost
192.168.2.101 name.no-ip.org

3. config

[Database]
host=192.168.2.101
user=eq
password=eq
database=peq
compression=off
[General]
quests=C:\EQEmu\Quests\
wordwrap=1

4. db

[Database]
host=192.168.2.101
user=eq
password=eq
database=peq

5. loginserver

loginserver.ini:
[LoginServer]
loginserver=192.168.2.101
loginport=5999
worldname=My World
worldaddress=name.no-ip.org
locked=false
account=
password=

[WorldServer]
Defaultstatus=
Unavailzone=
[ChatChannelServer]

worldshortname=
chataddress=
chatport=

[LoginConfig]
ServerMode=Minilogin
ServerPort=5999

6. eqemu_config
<?xml version="1.0">
<server>
<world>
<shortname>minilogin</shortname>
<longname>My World</longname>

<!-- Only specify these two if you really think you need to. -->
<address>name.no-ip.org</address>
<localaddress>192.168.2.101</localaddress>

<!-- Loginserver information. -->
<loginserver>
<host>192.168.2.101</host>
<port>5999</port>
<account></account>
<password></password>
</loginserver>

<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>some long random string</key>

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

<!-- Database configuration, replaces db.ini. -->
<database>
<host>localhost</host>
<port>3306</port>
<username>eq</username>
<password>eq</password>
<db>peq</db>
</database>
</server>

Belfedia
08-01-2006, 08:55 PM
Minilogin isn't designed for external connexion.

But someone have post a soluce for make that.
i'm don't remember where... search on the forum.

Aramid
08-01-2006, 10:57 PM
I don't know if you want to go this route, but it is working GREAT for me.

I'm in no way affilliated with this company in any shape or form...

I use a product called Hamachi. It lets you run your network as a peer to peer over the lan via encrypted VPN. You do not need to have a static IP address from your ISP for this. The url is http://www.hamachi.cc. When you set it up, everyone gets their own static IP address. You create a network for all you want to join it. Change your LOCAL IP's in your server setup to the Hamachi IP's and your all good. Only those who know your network name and password can get on, once you've created their account on the Emulator using their Hamachi address. There is a FREE version, which I am using as well and have had no problems yet. They have a Windows Version (what I am using) and a Linux Version (I haven't tested this one).
The users will put in their eqhost file your Servers Hamachi address with the standard minilogin port of 5999. You only need LoginServer.ini and the XML file. No need for config or db ini's. Keep Log.ini as well, that's read by World.exe, even if it has no entries.

Because it's a VPN tunnel, you don't need to open ports on your router either. At least I haven't had to. I already had standard e-mail, http and ftp ports opened to the server, but don't think you need even those.

rabidalien
08-02-2006, 03:59 AM
Thank you Belfedia and Aramid! I'll look up at Hamachi!