Most all of us have dynamic ips (IP address that changes everytime the modem resets). So, in order for players to be able to find you, you'll need to set up a dynamic IP. I use
http://www.dynip.com/, Eventually, you have to pay them, but there are free services such as
http://www.dyndns.com/. In my case, my dns is
blackwater.dynip.com, so I'll use myself as an example.
Here's my eqemu_config.xml (192.168.2.105 and blackwater.dynip.com are pointed/belong to the same machine, 192.168.2.105 is LAN ip and blackwater.dynip.com Internet ip);
Code:
<?xml version="1.0">
<server>
<world>
<shortname>classic</shortname>
<longname>Angelox Classic 2008</longname>
<!-- Only specify these two if you really think you need to. -->
<address>blackwater.dynip.com</address>
<localaddress>192.168.2.105</localaddress>
<!-- Loginserver information. -->
<loginserver>
<host>192.168.2.105</host>
<port>5999</port>
<account></account>
<password></password>
</loginserver>
<unlocked></unlocked>
<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>ko898odhus77iwud</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>lansing222</password>
<db>ax_classic</db>
</database>
</server>
And my LoginServer.ini;
Code:
[LoginServer]
loginserver=blackwater.dynip.com
#loginserver2=
loginport=5999
#loginport2=
#worldname=
#worldaddress=
#locked=false
#account=
#password=
[WorldServer]
Defaultstatus=
Unavailzone=
[ChatChannelServer]
worldshortname=
chataddress=
chatport=
[LoginConfig]
ServerMode=MiniLogin
ServerPort=5999
The clients from the Internet eqhost.txt file should look like this;
Code:
[LoginServer]
Host=blackwater.dynip.com:5999
The clients from
within the LAN, might need to have different eqhost.txt files;
Code:
[LoginServer]
Host=192.168.2.105:5999
or you can make a HOST file on your client with this entry;
Code:
192.168.2.105 blackwater.dynip.com
then you can use;
Code:
[LoginServer]
Host=blackwater.dynip.com:5999
The idea is to let the server know you are coming from
within the LAN, and not use your Internet ip. This way you can play from as many clients in the LAN as you wish, and still get players from outside the LAN (Internet).
Ports on your router that need to be opened;
3306/udp, 5999/udp, 9000/udp, 7000-7010/udp, 5999/tcp, 3306/tcp, 7000-7010/tcp
ports 7000-7010 are variable, pending on how many dynamic and static zones you start up. If you use 5 dynamic zones and 5 static, then 7000-7010, is ok, if you start more, then increase the amount accordingly.