Log in

View Full Version : Hosting on a lan to outside connections ?


Gremi
11-07-2002, 04:56 AM
Ok, Well... I run 3 computers on a 100mb/s lan sharing my cable connection. And, I would like to host a server on my spare pc on the network. I can do it all and get another pc on the network connected but, I cant get an outside connection to come in, even when i set it up for that. Can i host out through my router, if so do i need people to connect to the pc's routed ip or the main ip comming in ? People connectiong never seem to make a connection that stays, or my pc doesnt acknowledge them being connected or trying to connect.
Hopefully someone understands what i am saying.
I can be contacted on aim(TheTwizztedOne) ,icq(79030760),or emailed at gremlinttc@hotmail.com. In case u feel better answering me on one of those programs where i can answer questions about it directly. Thankz,,, Grem

xDSkyIsFallingx
11-10-2002, 09:52 AM
yeah im trying to do the same with my DSL connection, but no luck soo far, but ill keep my eyes peeled if i see anything =D

mrhodes
11-18-2002, 08:12 AM
Hi, I have a similar setup here....

I have an old PII 300 running as a server, and my main computer behind it. I can access the net, and everything else just fine on both systems. I host eqemu on the server (direct connection to the net) and my friend has no problem logging into it. How ever, when I try to log in (from my main computer) i can't log in....
Oh, I can log into any other server without any problems.... I only have problems trying to log into my own server :(

Anyone have any ideas?

Mike

guidex
11-18-2002, 08:16 AM
i posted a gude on how to get server to work using nat ... its on the first page of this fourm ......

Xarslik
11-18-2002, 05:12 PM
You'll need a dynamic host name pointing to your IP address.
(eg www.no-ip.com)

Let's pretend your host is gremi.no-ip.com, and your server's IP will be 192.168.0.5.

If hosting the server on a machine that does NOT directly connect to the internet, open that machine's hosts file and add the line:
192.168.0.5 gremi.no-ip.com

Then, in LoginServer.ini, remove the account= and password= lines, and for the worldaddress= line put gremi.no-ip.com.

In boot5zones.bat, replace the first set of IPs with gremi.no-ip.com and the second set with 127.0.0.1 or gremi.no-ip.com.

On your router\NAT PC, forward the ports 5999 if using Minilogin, 9000 and 7995 through 7999 to the machine running the server (192.168.0.5).

If connecting from another machine in the local network, edit your hosts file as you did on the server machine (192.168.0.5 gremi.no-ip.com).

Now when you connect from an internal machine, the server will send "gremi.no-ip.com" to your client. Your client, with an edited hosts file, will map this to 192.168.0.5.

When connecting externally, gremi.no-ip.com will resolve to your router\NAT machine's external IP. Which will then be routed to 192.168.0.5.

This is basically how I'm setup, and it works great.