Correct configuration when having dynamic IP
Posted: Mon Apr 12, 2010 8:04 pm
I recently had to change ISP and am now forced to use a dynamic IP.
I need some good info on how to set it up so that if IP changes, the login-server will pick up on this, and ppl can get in without me having to restart server.
I've registered the ip at no-ip.org, let's call it myserver.no-ip.org
In my login I have this:
ExternalHostname = myserver.no-ip.org
InternalHostname = 127.0.0.1
RouterHostname = myserver.no-ip.org (not really behind a router, but just in case)
LoginserverHostname = myserver.no-ip.org
IpUpdateTime = 5
In my server config, I have this:
ExternalHostname = myserver.no-ip.org
InternalHostname = *
GameserverHostname = myserver.no-ip.org
If I put a * on ExternalHostname in the server config, loginserver will get an error, saying it can't find *, so I put the no-ip there instead, and it works great. Servers connect to the loginserver, and ppl can connect to the server, and all is OK...
BUT, this morning I noticed the IP had changed, and the loginserver hadn't picked up on the change, and nobody could get in for a couple of hours.
Before I updated to my current version of the server, I tested all this on my not so updated test-server, and there I could enter * as external hostname in the config for the server, but since then, it seems the loginserver has changed quite a bit, and this setting (*) is no longer valid.
Or am I doing something wrong?
Please advice!
Much appreciated.
I need some good info on how to set it up so that if IP changes, the login-server will pick up on this, and ppl can get in without me having to restart server.
I've registered the ip at no-ip.org, let's call it myserver.no-ip.org
In my login I have this:
ExternalHostname = myserver.no-ip.org
InternalHostname = 127.0.0.1
RouterHostname = myserver.no-ip.org (not really behind a router, but just in case)
LoginserverHostname = myserver.no-ip.org
IpUpdateTime = 5
In my server config, I have this:
ExternalHostname = myserver.no-ip.org
InternalHostname = *
GameserverHostname = myserver.no-ip.org
If I put a * on ExternalHostname in the server config, loginserver will get an error, saying it can't find *, so I put the no-ip there instead, and it works great. Servers connect to the loginserver, and ppl can connect to the server, and all is OK...
BUT, this morning I noticed the IP had changed, and the loginserver hadn't picked up on the change, and nobody could get in for a couple of hours.
Before I updated to my current version of the server, I tested all this on my not so updated test-server, and there I could enter * as external hostname in the config for the server, but since then, it seems the loginserver has changed quite a bit, and this setting (*) is no longer valid.
Or am I doing something wrong?
Please advice!
Much appreciated.