HOWTO: Play on your own server behind NAT
The reason that this does not normally work, is that most routers will not forward packets to through the external address when coming from inside the router. To get around this you can do a DNS "trick".
First, you will need a DNS name for your external IP. Either use the one your ISP gives you or go register one at dyndns.org or somesuch place. Let's use these numbers for this example: External IP: 1.2.3.4 External DNS name: 1-2-3-4.myisp.com Internal IP of EQEMu server host: 192.168.1.100 In you servers LoginServer.ini, use the external DNS name for your world address: Code:
... Code:
zone.exe . 1-2-3-4.myisp.com 7001 192.168.1.100 On the machine you play eq from, put a hosts file (\windows\system32\drivers\etc\hosts) entry that points your external DNS name to the internal IP address of your server. Code:
192.168.1.100 1-2-3-4.myisp.com All should be fine from then. NOTE: This does NOT work with the 5996 loginserver. It has some code in it that uses the IP as part of the hand off to world. And because one is behind your router and one is not, the loginserver and world will see you coming from different IP addresses and world will not let you log in. The fix? Use the 5994 loginserver. |
Quote:
|
Quote:
In Doodman's example, assuming you have added no other entries, your host file would look something like this: Code:
# Copyright (c) 1993-1999 Microsoft Corp. |
So lets say my external ip is 222.333.444.555? and lets say my isp is blabla.net? Would i put 222.333.444.555.blabla.net then 192.168.100 (internal ip) as the host.?
EDIT: And in my loginserver.ini and boot5zones would i put just 222.333.444.555.blabla.net? |
ok when i altered this file i was unable to overwrite it so i have to make a host.txt file is this what i am to do ?
or is there a way to overwrite it that way i know the altered one is getting read thank you |
Quote:
if you cannot overwrite this file you're not logged in under an administrator account - and you must be because this is a administrative settings file |
All times are GMT -4. The time now is 04:36 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.