Tuesday, December 17, 2013

Routing Steam Traffic Alongside Mikrotik

For people living inwards 3rd the world economies, where uncapped high speed broadband network is entirely a myth, nosotros are forced to come upwards up amongst creative agency of managing our bandwidth.

The scenario is this:
You bring 2 network connections, one, a high speed capped network connection, the other a depression speed uncapped option. You would desire all game together with Steam customer traffic to run over the high speed connection, only all Steam downloads bring to endure routed through the tedious uncapped connection. We assume that the default route is through the uncapped connection, together with entirely specific traffic gets routed over the high speed link.

From the Steam website y'all tin discovery the next port information:


Steam Client:
  • UDP 27000 to 27015 inclusive (Game customer traffic)
  • UDP 27015 to 27030 inclusive (Typically Matchmaking together with HLTV)
  • TCP 27014 to 27050 inclusive (Steam downloads)
  • UDP 4380

Dedicated or Listen Servers

  • TCP 27015 (SRCDS Rcon port)
Steamworks P2P Networking together with Steam Voice Chat
  • UDP 3478 (Outbound)
  • UDP 4379 (Outbound)
  • UDP 4380 (Outbound)
Additional Ports for Call of Duty: Modern Warfare 2 Multiplayer
  • UDP 1500 (outbound)
  • UDP 3005 (outbound)
  • UDP 3101 (outbound)
  • UDP 28960
Now, based on this nosotros desire to route all steam traffic apart from Steam Downloads (TCP 27015-27050) via the high speed link, together with thence nosotros commencement past times marker the packets that nosotros desire to route to our high speed link:

Having marked the packets appropriately, nosotros desire to enjoin the Mikrotik firewall to route it through a specific gateway:
That's it, y'all volition right away endure able to role Steam phonation chat together with the Steam Client through your high speed link amongst downloads running over y'all uncapped connection.