PDA

View Full Version : Create a Server behind a router? I know how :)


hiddenfear
03-03-2003, 09:34 AM
I just got a new computer and a hub/router so I can share my DSL connection to the both of them. I read many posts regarding people not being able to use a router/hub while creating a server. I figured it out. This is what I did.

I your loginserver file in the /EQEmu folder.
You should have to following

[LoginServer]
loginserver=eqlogin1.eqemu.net
loginserver2=eqlogin2.eqemu.net
loginport=5999
loginport2=5999
worldname=The Name of Your Server
worldaddress=192.168.1.101
locked=false

In the Worldaddress you should have the IP address that you issued you computer. Not your live net IP address but the adress the computer uses in your LAN, some Routers give this out automadicly. So click start, run command promt/dos and type ipconfig to find out wat your comps LAN ip is. Make sure you put that IP in the worldaddress=

Next, in your boot5zones file, you should have to following


start zone . 192.168.1.101 7995 192.168.1.101
start zone . 192.168.1.101 7996 192.168.1.101
start zone . 192.168.1.101 7997 192.168.1.101
start zone . 192.168.1.101 7998 192.168.1.101
start zone . 192.168.1.101 7999 192.168.1.101
exit
cls

Set the IP adresses to the same IP you put in the worldaddress=
Now you should be set. Thats all you need to change. Now if your router/hub as a firewall it might not let clients in. I`m still working on that.


-Ellusion

fnemo
03-03-2003, 10:53 AM
its quite weird that ppl are able to connect to you from outside since you only gave your local network IP.

Vermea
03-03-2003, 11:24 AM
An unlikely solution to a strange problem....I think this should be sticky or something...except in a diffent forum. Try the Server support ones. (not saying take it out of here, but maybe you should post them there too)

hiddenfear
03-03-2003, 11:33 PM
Well, my computer talks to the hub, which then directs the info I`m sending/recieving to EQEmu and it stamps the info I`m recieving with my Hub/routers' IP address. The live one. When someone wants to contact to my server, it'll talk to my Hubs live IP address, then my hub/router directs it to my server. So it all works. I`m still ganna try and get around this firewall thing. There has to be a way. probably have to configure something manualy. if I figure it out I`ll post it here.

Deathspawn
03-04-2003, 12:36 AM
To get around your routers internal firewall you need to go to the configuration and release/foreward the ports to allow the data to come through. The ports you need to release/foreward are located in between the IP address's located in your boot5zone file. Should be like 7795 , 7796, 7797, 7798, 7799 . Otherwise your router is going to see the data coming to it and it will be blocked because the ports have not been opened. After this assuming everything else is set up properly, you should be able to connect and stuff.

Darksoul
03-04-2003, 10:53 AM
well with that config that you posted you'd either have to have that computers ip setup as the dmz, or have the port forwarding setup so that the wan ports forward into the lan ports (set it up so that it forwards to the computer running the servers) its pretty simple if you know what your doing, but some routers might not be able to go along with it cause they were a "cheap class of routers" quite a few routers can, but if you dont know how check your manual or go to http://192.168.0.1 and try to set it up.

hiddenfear
03-04-2003, 11:08 AM
I figured it out. I just opened the port. but my upload speed still sucks ass so I cant do anything. ohh well.

-Ellusion

matrix961
05-01-2003, 12:51 PM
I have set my server up this way behind my router and it works as far as i can tell...When i connect to the loginserver i can see my server in the list as well as connect to it and play on it from any computer behind my router...The thing that i do not know is, is if anyone from the outside can connect to it...So far no one has been on my server from the outside so for now I am thinking that when the server is set up this way only clients from behind the router can access the world...I could be wrong tho, well see if anyone happens to get on. If anyone has time they can try my server, it is The Tormented Server.

Thanks