Connecting to server via router Mir3 

Newbie Spellweaver
Joined
Feb 21, 2004
Messages
19
Reaction score
0
Can someone help, exhausted all different combinations

I can run game fine locally on LAN

When I set up for internet access, people can create account, but disconnects when gets to SelChrGate - they get the screen up to create char, but nothing happens

have set up forwarding on router for ports 7000, 7100, 7200 - even went as far as 5000-7300 and no joy.

have setup all ini files with gateway ip in and no joy...

there must be something simple and stupid I am not doing

help appreciated
 
Yes tks, followed that, but missing out a lot of important facts - and there are a lot more ini files to check as well

there are two options
DMZ - didnt work
forward router - works partially

so, will keep trying different combinations
 
http://forum.ragezone.com/showthread.php?t=20904&highlight=router

i have now officially lost track as to how many times i have posted this reply - this set up works as tested by meslef and many others - there is NO reason to have a DMZ becuase what it does if you set up a DMZ is that ALL traffic passes through to that machine - can you tell me how quick it would be before somebody hacked your SQL Server???

Ta...
 
Thanks, I followed instructions on that thread - and still getting problems as described above

Ok, will figure something else out
 
Lets see if i can break it down verballity - this might or might not help...

PORT 7000 forwarded on router to server machine - client connects to your Internet IP - this gets pushed to server machine - login program takes details and if correct - passes it through to selchar gate. This SelChar gate is running on 7100 which now cross referencves against SQL database for your char. Once you press GO it talk to RUNGATE - running on Port 7200. RunGate talk Internally to server on port 5000 so your playing the game via Rungate to talk to server (this is where Protect RunGate comes in to stop people flooding rungate to bring it down).

If a certain bit aint working - then look in that Directory at the setup ini file to see what address it has - maybe its still talking local?

A Easier way i found to do it - i use server runner to set all at local IP, check it works local. Once happy that it does - then i change as above and then DO NOT use Server Runner at all - but in fact a BAT file to run the server (cos server runner will change all the IP's again).

I Hope this help
 
Tried, doesnt work

giving up, because no-one can tell me the exact connection process and router setup.
Spending days fumbling about just to setup a server has got ridiculous.
 
OK one last attempt

On my Router (SMC) i port forward 5000, 7000-7200 to the IP of the machine running the server. On My Router it does not have tcp/udp type - though my other router does (DLINK). My Router allows pass through - so i can talk via internet IP to myself - some router do not allow this (again - cheap and nasty DLINK features on this list).

In the dbsrv300 folder i open up !serverinfo.txt and type the following:

192.168.2.2,81.108.83.191:7200 (please note - these address made up)


Now the program LOGINSRV i double clikc the white bit - this bring up another config screen. First box (top left) is local Ip. Next box is Net IP and gate should be Net Ip.

if you wanna access it from the lan you have to change the gate ips to local addresses so you can connect.

Now i close the whole lot down - restart using the BAT file (which basically starts each program one at a time). I have tested this on many setups and i really dont know where your going wrong.

As I said - its best to make sure that it works local first - that you can get in, choose a char etc and so forth. Once your happy that it works local - then use the method above and it will work - unless your not forwarding the correct bits on the router.

* Quick note - you said no-one will tell you how to set up your router? You are the only one who knows your router and it comes with a manual on how to forward IP's does it not? Each one is different - most by web interface - all depends on what router you have. Go do a search on the manu site for your router on how to set up port fowarding......
 
Last edited:
Tks.

Didnt have 5000 port forwarded, and didnt do the Loginsrv program IP address.
Done now, cant connect via local LAN just need to check via internet.

One question, is there a way of connecting via both i.e. internet (gateway IP) and locally same time. If have internet connection up, cant do any testing
 
Unfortantly no - at least none that ive found. Most routers lets local pass through - what this means is that if you try and access your intenet IP via the Lan - it knows this and in reality you are connected via the lan (even though it looks like internet). If your Router does not allow this (local Pass through) - it might be worrth looking on Google for a firmware that does allow it- i know i had to for my SMC as one firmware update stopped it dead.
 
Yeh thought so, doesnt like double natt'ing.

Well back to same old problem, ppl can get right to selecting character and it stops dead.
I get the same locally as well which is strange
 
Not sure if this helps - i set all my IP's to be the local one NOT 127.0.0.1 - im not 100% sure if this makes a difference but it made sense to me when i set it up.

Like I said - the first thing you need to establish is that you yourself can login, create a char/select a char and then get i game - once you know thats working - then setting it vai the lan is going to work. I take it though you have more than one mahcine so that you can connect to the game via anoher pc rather than use the server.

If you tell me the name/make/model of your router - then i can do a bit hunting around for you.
 
Tks for your time.
yes have 4 pc's
completed port scan analysis and only ports needed for forwarding are 7000, 7100 and 7200. All IP's set to local server IP in ini files. I can connect and play fine on local lan.
When I change loginsrv app and serverinfo to gateway ip - then users can get as far as the selchar screen. Strangely can do the same on local LAN pc as well - then get connection refused (which I would expect at this time)

I have a Shock 711-CE adsl modem/router with 4 port switch hub and USB. think the company..
has gone bust - but loads of similar routers on market with same specs.

I have put in SP3 to sql 2000, no difference
Was gonna try SQL7 but not compatible with XP.
Mysql - too much hassle lol
 
Last edited:
You can get both working over the net and login on @ the same computer.

You just set all your IP's to your WAN/Net IP, and Setup a Microsoft Loopback Network card. Just like you can for Mir 2, Mu Online and god knows wat other files.

If you wanna see more about Loopback network card you'll have to search for it, as i cant b bothered to explain it from scratch
 
can't you just add your host pc as another gateway. This worked with a HUB, but i've never tried it on a router. Think i will later, mite need a little tweaking.
 
Back