DNS Problems

Recently, my router died and had to buy a new one. My router is normally $100, but I was lucky to pick it up on Amazon for $15. My previous router was of an older firmware, my recent one came with the newest.

Anyway, the issue is thus:

After forwarding all necessary ports for Listserver and GServer, I cannot reroute myself into the network by connecting to my WAN IP; only my LAN. Other players can connect through the WAN IP, but I cannot. I’m having the same problem with my Ventrilo server so I know it’s not only related to GServer.

So, my question is:

What can I do to my router to allow me to connect to something hosted on the LAN through my WAN IP? This may, also, be related to the reason why I can’t ever get Ragnarok emulators to work while my router is connected.

[QUOTE=Koroshiya;9759]
Recently, my router died and had to buy a new one. My router is normally $100, but I was lucky to pick it up on Amazon for $15. My previous router was of an older firmware, my recent one came with the newest.

Anyway, the issue is thus:

After forwarding all necessary ports for Listserver and GServer, I cannot reroute myself into the network by connecting to my WAN IP; only my LAN. Other players can connect through the WAN IP, but I cannot. I’m having the same problem with my Ventrilo server so I know it’s not only related to GServer.

So, my question is:

What can I do to my router to allow me to connect to something hosted on the LAN through my WAN IP? This may, also, be related to the reason why I can’t ever get Ragnarok emulators to work while my router is connected.
[/QUOTE]

Didn’t the latest update fix this… unsure. I have the same problem as you though… can’t connect to my wan-ip… only lan-ip while others can connect to the wan. Pretty sure gserver v. 63 has it already… but if not, should be in svn maybe

The problem isn’t entirely related to the GServer, though. My previous router could accomplish this task, I believe I had (at some point) performed the function to make it possible. But, since I don’t have access to it, anymore, I can’t compare the settings with my new one. They’re the exact same router, just that the new one has a later firmware. Either that or a setting is the reason for the problem.

While digging around on Google, people mentioned using a proxy, making changes to the hosts file and some other junk. I don’t recall ever having to go to those lengths to do it.

What could I do to my router to enable it?

[QUOTE=Nalin;9763]Some routers just have that limitation. I know mine does. The easiest way to solve it is to use a no-ip or a dyndns name and alter your Windows HOSTS file to resolve it to localhost. So, everybody connects to koroshiya.no-ip.com, which points them to your WAN address. Then, inside your HOSTS file, you have koroshiya.no-ip.com resolve to localhost.[/QUOTE]

Awesome. That sounds like it’ll do the trick. I’ve been running my crap using my web subdomains points to IP’s (they look better, imo). But, I’ll post back if it doesn’t help.

Merged doublepost_______________

Well, it didn’t do it. At first, I tried and then realized that the server isn’t hosted on this computer. So, I altered my hosts to point to the LAN IP of the computer I’m trying to connect to but it still doesn’t work.

I have it set up like this:

ventrilo.keldraga.com          192.168.0.102

ventrilo.keldraga.com is pointed towards my external IP.

Oh, balls. lmao. Spanks!

Also, do wildcards work for that? For example

192.168.0.102          *.keldraga.com

I just tested it and it does not work.

Flipping them into the correct order did fix the rerouting issue, though.

However, I’m finding that I can connect to my listserver, but it doesn’t continue on to connect to the GServer, so I gotta figure out why that is and correct it.

It’s probably due to the code Nalin has on the listserver, it might be connecting you to 127.0.0.1 rather than 192.168.0.102

Also the reason the router isn’t connecting you from your WAN IP is because it’s retarded and hasn’t updated its routing table with an entry to handle your WAN IP.
If your ISP gives you a static IP you may be able to insert it into your routers routing table manually.

[QUOTE=Agret;9804]It’s probably due to the code Nalin has on the listserver, it might be connecting you to 127.0.0.1 rather than 192.168.0.102[/QUOTE]

Apparently the latest GServer revision (you’ll have to compile it) has it’s own work around (your GServer sends the local IP as well). However… cough After noticing all of the NPC related glitches and crashings… I’m not all that confident in the Gserver Revisions we’re currently at, ‘59’ seems more stable than what Sentinel is currently at >_>; All of the glitches came to light with the ‘Unix-Graal’ server.

[QUOTE=Agret;9804]If your ISP gives you a static IP you may be able to insert it into your routers routing table manually.[/QUOTE]

My router can force a static IP, but I can’t remember how I did it last time. That’s been a huge problem, for me; I had tons of work done on my old one but it’s been so long I can’t remember what all I did.

[QUOTE=Nalin;9813]He uses an older serverlist. Those changes are new and I doubt he grabbed the latest source recently.[/QUOTE]

Well, shoot. Guess I’ll have to grabs me dat. Didn’t think the serverlist had updates. I, pretty much, assumed you guys had it hammered out. lol

goto 192.168.0.1

which is usually how to access the router

[QUOTE=Dontar;9817]
goto 192.168.0.1

which is usually how to access the router
[/QUOTE]

I’m accessing another computer on my network, not the router.

[QUOTE=Nalin;9822]
We add things every now and then. We just don’t advertise it.

In November, I re-wrote the msgSVI_SETNAME() function to make it easier to give servers different types (like the Graal Reborn server is gold type). And we added the whole sending localhost back thingy.
[/QUOTE]

lol. That’s cool. I’ll have to check it out when I get back from work.

[QUOTE=Nalin;9834]
Going to make another revision soon that will have the serverlist re-sync itself with the contents of the levels directory every few minutes. That lets you add more files to the global file list without requiring the serverlist to be restarted.

BMerged doublepost[/B]_______________

Done!

Updated CString. Updated CFileSystem. Added the global directory to the project and made the file system use that instead of the levels directory. The serverlist now resynchronizes itself with the global directory every 5 minutes. No more restarting it to add more global files. If a server connects that has the same name and IP address as an existing server, it will remove the existing server. Should fix odd problems where a server loses connection to the serverlist and the serverlist doesn't realize it.
[/QUOTE]

Awesome. Glad I was delayed. =P Was the issue that we had before with MySQL in release mode fixed? Or do I still need to run it in debug?

Nope, still doesn’t work. Gonna give it a go in debug.