Author Topic: Skyrocketing pings for clients outside firewall  (Read 8691 times)


  • Not-a-newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Skyrocketing pings for clients outside firewall
« on: December 17, 2012, 02:36:43 AM »

Tried running a custom built FPS dedicated server binary (using the latest version of raknet) on 3 different user machines that are behind the router/firewalls in their homes (using 3 different ISPs, 2 in the US and 1 in the UK). In each case external users where able to connect after enabling the correct forwarding of ports.

In 2 of the cases, all pings from external players (but not for the player connecting from within the router's firewall) jump from the 50-100 ms range to 500-1,000 ms range immediately after the second external player connects. One of these machines was tested to be using a small fraction of the user's upstream bandwidth as tested via the website. Increasing / decreasing the amount of data getting sent (at least slightly) by replicating extra objects and moving around a lot (or not) doesn't seem to make much of a difference.

In the last case, after enough external players have connected and we've played for at least 5-10 minutes, the pings of external players begin to climb steadily (first to the 200-400 range, then to the 500-1000 range. Again, in all cases, the player connecting (not the same machine) from within the router's firewall continues to have a ping < 10 ms. This dedicated server's specs are inferior to at least one of the previous machines mentioned that are exhibiting worse behavior.

All players are directly connecting to the server's ip/port (manually) and are sending a mixture of reliable ordered to unreliable sequenced data. And I've tried both a random port and using CounterStrike: Source's default server port, to check if different ports make a difference.

Any suggestions as to what may be responsible?

A million thanks!



  • Administrator
  • Hero Member
  • *****
  • Posts: 6895
  • Karma: 291
    • View Profile
    • RakNet
Re: Skyrocketing pings for clients outside firewall
« Reply #1 on: December 18, 2012, 01:21:36 AM »
Is the server itself behind a router / firewall? If you have a user with the problem connect without going through a router, does this fix the problem? I need to know if the problem is in RakNet, or from the router.