Page 1 of 1

Correct configuration when having dynamic IP

Posted: Mon Apr 12, 2010 8:04 pm
by Notorious
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.

Re: Correct configuration when having dynamic IP

Posted: Mon Apr 12, 2010 8:30 pm
by hope
myserver.no-ip.org dont use this

Re: Correct configuration when having dynamic IP

Posted: Wed Apr 14, 2010 7:04 am
by Notorious
"myserver.no-ip.org dont use this"

Is this the full and complete answer to my question then? To not use dynamic IP?

Then what the heck is this good for:

Code: Select all

# The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)# Default: 15IpUpdateTime = 5
And the info claiming it's useful when using dynamic IP is completely misleading and should be removed.

Re: Correct configuration when having dynamic IP

Posted: Wed Apr 14, 2010 10:16 am
by Nemesis_hommage
maybe just change the refrehtime of the no-ip duc

Re: Correct configuration when having dynamic IP

Posted: Wed Apr 14, 2010 10:49 am
by Notorious
It's not that the IP isn't updated by the DUC - this works perfectly - but the server don't recognize the change, and this is what I thought it meant by "IpUpdateTime". So either it's not working as it should, or I'm doing something wrong, and therefore I wrote the question, but so far the only reply I got told me to not use dynamic IP.

Re: Correct configuration when having dynamic IP

Posted: Wed Apr 14, 2010 3:11 pm
by magestik
have you installed the Dynamic DNS update client from NO-IP.COM (in the download section).
This lil prog runs in the background and tells no-ip.com if your IP changes, which then updates your 'myserver.noip.org' setting.

Re: Correct configuration when having dynamic IP

Posted: Wed Apr 14, 2010 3:26 pm
by Notorious
magestik wrote:have you installed the Dynamic DNS update client from NO-IP.COM (in the download section).
This lil prog runs in the background and tells no-ip.com if your IP changes, which then updates your 'myserver.noip.org' setting.
Yes, I have, and as I said, the update of the IP to no-ip.com works perfectly, but the server is still unavailable to the players, even after hours since the update of the IP, because it seems the loginserver doesn't detect the change of IP.
What I'm asking is if I have done the configuration correctly, or if I may have missed something.

It could very well be a one-time-thing, that it didn't work. I'm waiting for the IP to change to verify if it works or not! :D

Re: Correct configuration when having dynamic IP

Posted: Wed Apr 21, 2010 7:54 am
by Notorious
Not a one-time-thing. Had a new IP today, and once again, loginserver didn't recognize the change. I tried to restart the loginserver, but even though I could login, I couldn't connect to the server itself.

Is there anybody out there who has a working solution for this?

Re: Correct configuration when having dynamic IP

Posted: Wed Apr 21, 2010 10:01 am
by noob256
i found that for me the software tool to update dynamic dns didnt update correctly at times.
though they do not advise it, updating worked for me much better entering the no-ip (or dyndns) acc data in my router and loosing the software tool.
but still wouldnt work for me either with the loginserv.
so in the end i ordered a static ip from a small-sized business company who are re-renting unused ips from their pool sometimes for a decent price (used wrocklage.de). i don t know how that works in sweden but you might consider such an option.