Log in

View Full Version : Lan/Wan configuration question


foulques
03-02-2012, 02:32 PM
Hi all, I have worked everything out for a stand alone server with login.

I am missing a detail that I hope some one can answer or explain.


can log from Wan with this eqem_config

<shortname>Server name</shortname>
<longname>Long server name</longname>
<!-- Only specify these two if you really think you need to. -->
<address>External IP</address>
<localaddress>127.0.0.1</localaddress>
<!-- Loginserver information. -->
<loginserver>
<host>external IP</host>
<port>5999</port>
<account>account</account>
<password>pswd</password>


I can log from the Lan side with
<shortname>Server name</shortname>
<longname>Long server name</longname>
<!-- Only specify these two if you really think you need to. -->
<address>Internal IP</address>
<localaddress>127.0.0.1</localaddress>
<!-- Loginserver information. -->
<loginserver>
<host>Internal IP</host>
<port>5999</port>
<account>account</account>
<password>pswd</password>

I should be able to do both with

<shortname>Server name</shortname>
<longname>Long server name</longname>
<!-- Only specify these two if you really think you need to. -->
<address>name.dyndns.org</address>
<localaddress>127.0.0.1</localaddress>
<!-- Loginserver information. -->
<loginserver>
<host>name.dyndns.org</host>
<port>5999</port>
<account>account</account>
<password>pswd</password>



But the Lan side can not log. Port forward is working, dyndns is installed on server computer. can ping External ip from lan side. I have a static IP for external IP.

I can not find a configuration that works for both.



Host files I try inernal IP, external IP, name-dyndns, but I have not worked this out.

There was one post that said
add
internal IP name,dyndns,com

to the host file. I have tried this but I am obviously not getting the syntax correct.

thanks

joligario
03-02-2012, 03:21 PM
Your last comment is most likely the issue.

127.0.0.1 myserver.dyndns.org

And make sure it truly saves (i.e. run notepad/editor as admin)

foulques
03-02-2012, 06:30 PM
joligario, thanks for the repsonse. here is my files, I have

Lan side Host (which logs to server, and can not log to char select screen)

[loginserver]
127.0.0.1 therrontest.dyndns-server.com
host therrontest.dyndns-server.com:5999


Eqemu-config (which allows Wan logins but not lan side)
!-- <address>therrontest.dyndns-server.com</address> -->
!-- <localaddress>127.0.0.1</localaddress> -->

<!-- Loginserver information. Defaults shown -->
<loginserver1>
<host>therrontest.dyndns-server.com</host>
<port>5998</port>
<account>Name</account>
<password>PS</password>
</loginserver1>


I have been able to add mutiple loginsserver locations which will work. I did save both files from notepadd++ as admin but still does not connect.

Do I have the Host file syntax correct, I am not sure of this.
thanks for you thoughts
Foulques

joligario
03-02-2012, 07:09 PM
Oh, no. I gave the host file syntax. Not for the loginserver.

foulques
03-02-2012, 07:28 PM
Sorry I was not clear.
host.txt from EQ folder
[loginserver]
127.0.0.1 therrontest.dyndns-server.com
host therrontest.dyndns-server.com:5999

Do I the right file?

lerxst2112
03-02-2012, 07:32 PM
No, the windows hosts file is in C:\Windows\System32\drivers\etc

Add 127.0.0.1 therrontest.dyndns-server.com to the end of that file and make sure there is a carriage return at the end. You may need to reboot for it to take effect. You probably also want to use your internal 192.168.x.x address instead of 127.0.0.1 since that won't work unless the server is on the same machine as the client.

foulques
03-02-2012, 07:44 PM
This makes more sense, I was not seeing how this syntax was going anything.
Now am I looking for this host file on the server computer or each login client computer?
I am not familiar with this windows host file.
I am lookign do you have a typical name?
Foulques

foulques
03-02-2012, 07:53 PM
C:\Windows\System32\drivers\etc\hosts
looks like it.

foulques
03-02-2012, 08:28 PM
lerxst2112 and joligario a great big thank you!

I have not had to edit those files since, YICKS, windows 3.11 and netware.
Obviously this is not my main line of work.

Again thank you for your help.
Foulques