Kart Racing Pro Official Forum

General => General Discussion => Topic started by: Fazza on June 05, 2012, 09:53:58 PM

Title: Online server script
Post by: Fazza on June 05, 2012, 09:53:58 PM
is there any way you might let me have a look at the script to see the online servers
from here
http://stats.kartracing-pro.com/servers.php

im currently building a site and would love to be able to pull up this information

http://www.race-uk.com

you might have noticed iv had some servers up and running recently
Title: Re: Online server script
Post by: PiBoSo on June 07, 2012, 06:38:05 PM

At the moment it's not possible to have the server list outside of the master server.
Title: Re: Online server script
Post by: The Iceman Marco on June 08, 2012, 05:19:01 PM
I see no ping by your servers and can't join them
Title: Re: Online server script
Post by: Fazza on June 08, 2012, 05:43:14 PM
hi m8 can ya try again i restarted the server

i see no ping on them either but i can connect and i have had ppl join there before

please let me know how you get on thanx
Title: Re: Online server script
Post by: The Iceman Marco on June 08, 2012, 07:33:46 PM
I still have the same problem. No ping and can't join them.

EDIT: Just found out that the problems are here. My teammate can join them, he also see no ping, but he can join them.
Title: Re: Online server script
Post by: dibu on June 08, 2012, 08:33:26 PM
Quote from: The Iceman Marco on June 08, 2012, 07:33:46 PM
EDIT: Just found out that the problems are here.

Yes and no. Fazza 's servers are behind a NAT router and his ports are blocked (not properly forwarded in the router or blocked by a software firewall).

In this case only people who opened the ports UDP 10600+10610 at their own router can connect. Your ports are still closed (thanks to KPN and their mutilated router firmware) and that's why you have the problems.
Title: Re: Online server script
Post by: Fazza on June 08, 2012, 10:31:01 PM
any ideas how i can fix this ?

the ports are forwarded to my dedicated server and Kart is accepted in my firewall

Title: Re: Online server script
Post by: dibu on June 09, 2012, 09:46:12 AM
To see whether the router or the pc is causing the problem my first step would be to disable ALL firewall and antivirus software on the pc for a test.

If the problem persists, you should have a closer look at the router.
Your port forwardings look like this?

External       Internal           Target       Protocoll
10601 10601 192.168.1.103          UDP
10602 10602 192.168.1.103          UDP
10603 10603 192.168.1.103          UDP
10604 10604 192.168.1.103          UDP

10611 10611 192.168.1.103          UDP
10612 10612 192.168.1.103          UDP
10613 10613 192.168.1.103          UDP
10614 10614 192.168.1.103          UDP


I see that a normal ping to your public IP is blocked which is no problem, but maybe there are other security features activated in your router or cable modem which prevent the communication. Virgin Media's FAQ says that they don't block ports in the range which you are using.



Title: Re: Online server script
Post by: Fazza on June 09, 2012, 07:55:21 PM
ok so i disabled all firewalls on server and on the router and still i see no ping

ports i have open are 53 tcp/udp and 10600-16010 tcp/udp im running windows server 2008
and my router has custom firmware DD-WRT v24-sp2 on a dlink dir615
all ports are forwarded to 192.168.1.103 my dedicated server machine

how do i allow pings to my external ip address ???
Title: Re: Online server script
Post by: dibu on June 09, 2012, 08:11:57 PM
Quote from: Fazza on June 09, 2012, 07:55:21 PM
ports i have open are 53 tcp/udp and 10600-16010 tcp/udp...

Why only port 10600 to 10610? Try opening 10600 to 10620. Only UDP is needed.
Port 53 is only needed for DNS resolution, you don't need to forward it.

Quote from: Fazza on June 09, 2012, 07:55:21 PM
how do i allow pings to my external ip address ???

It's not necessary for running the dedicated servers.
Title: Re: Online server script
Post by: Fazza on June 09, 2012, 08:20:16 PM
i found this http://patrickyong.wordpress.com/2008/05/04/enable-ping-replies-on-windows-server-2008/ (http://patrickyong.wordpress.com/2008/05/04/enable-ping-replies-on-windows-server-2008/)

i can now ping to my dedicated server ok

but i need someone see if its showing a ping in the server list in game please
Title: Re: Online server script
Post by: dibu on June 09, 2012, 08:21:15 PM
Still no ping.
The link only shows how to enable ping in the internal network.
Title: Re: Online server script
Post by: Fazza on June 09, 2012, 08:23:57 PM
can you ping my server now thou ? in command prompt ?


im now trying this

http://www.hosting.com/support/windows-server-2008/enable-ping-for-windows-server-2008
Title: Re: Online server script
Post by: dibu on June 09, 2012, 08:32:27 PM
Of course no, because your server is behind a NAT router. The link you posted will not help to solve your problem with the KRP servers.
Did you expand the port range to 10600-10620?
Title: Re: Online server script
Post by: Fazza on June 09, 2012, 08:40:11 PM
just expanded port range and still the same
Title: Re: Online server script
Post by: dibu on June 09, 2012, 08:50:52 PM
From your description everything seems to be ok. Now it becomes harder to find the problem.

I just did a quick google search and found sevreal threads about DD-WRT v24-sp2 on a dlink dir615with with port forwarding problems. Maybe it's a firmware problem?
Title: Re: Online server script
Post by: Fazza on June 09, 2012, 09:07:50 PM
Block Anonymous WAN Requests (ping) was ticked in the router settings
but i still dont think you can get a ping from the server
Title: Re: Online server script
Post by: dibu on June 09, 2012, 09:18:53 PM
Now I can ping the public IP of your router, but your KRP servers still don't show up with a ping.
Title: Re: Online server script
Post by: Fazza on June 09, 2012, 10:49:23 PM
does any of this make any sense to you ?
http://www.dd-wrt.com/wiki/index.php/One-to-one_NAT
Title: Re: Online server script
Post by: dibu on June 10, 2012, 08:35:47 AM
It's the hard way to go if you want to use the CLI with telnet or SSH, but you should be familiar with iptables and know what you are doing. ;)

Here is another link for using the web-if:
http://www.dd-wrt.com/wiki/index.php/Port_Forwarding

Take a look at the warning in the text, there seems to be an issue with manual port forwarding and UPnP.
Quote
Warning
UPnP port forwards seem to overwrite static port forwards set here. If your static port forwarding is important, turn off UPnP.

And here the link for trobleshooting:
http://www.dd-wrt.com/wiki/index.php/Port_Forwarding_Troubleshooting

Which build of DD-WRT v24-sp2 are you using? Did you check for possible problems with this build?

Title: Re: Online server script
Post by: Fazza on June 25, 2012, 05:30:53 AM
well ive disabled UPnP now and restarted the server can you tell me if you see a ping now ?
Title: Re: Online server script
Post by: Schwoni on June 25, 2012, 06:57:11 AM
No Pings
Title: Re: Online server script
Post by: Fazza on June 25, 2012, 07:02:50 AM
grrrrrrr
Title: Re: Online server script
Post by: Rupe W on June 25, 2012, 04:20:46 PM
Hello, ive been in this situation whith my server  my only option was to invest in a new router modem  .... Even thought i had access to my portforwarding there was a firewall setting in my kpn free modem that cant be altered....(or kpn will not allow this to be changed)..  ive had to do this 2 times now ... first i had bought a linkys to get round this problem but then they updated me to VDLS2 and i had to buy a fritzbox... i use this to check my ports are open  http://portforward.com/help/portcheck.htm