Pages

Tuesday, November 27, 2012

Steam - Configuring Router For multiple client


To configure multiple clients to play from behind the same router, you may need to change one of the clients to use a different clientport number.
  • Each machine must have a unique Steam account with different game licenses registered to the account.
  • Each machine must have a different clientport setting.
  • Each machine must have a unique Mac address.
  • The router must be up-to-date.
  • Your Firewall and router must have the required ports for Steam open.
The default clientport is 27005 and you can only have one game with that port active on the same lan.

Specifying a Clientport as a Launch Option

To specify a client port, please perform the following steps for each computer on the LAN
  • Go to Steam's My games menu
  • Right-click on the game you wish to play
  • Go to Properties
  • From the General tab, click on the Set launch options button
  • Add a different client port number on each machine between 27005 and 27032 in the following format: 
    +clientport 270XX
    Note: Do not use 27020
  • Click OK
NOTE: This solution only works if you launch the game through the My games menu.
If you have already set other launch options, leave a space between the last character of your previous launch option and the + of your clientport setting.

Specifying a Clientport in the Userconfig.cfg

The benefit of this method is that the clientport will remain set whether you are launching the game from the My games menu or from a shortcut to the game.
  • Navigate to the folder that holds the config.cfg for your game
    Example: The config.cfg for Counter-strike: Source can be found here:
    ..\Steam\steamapps\\counter-strike source\cstrike\cfg
  • If you have a userconfig.cfg in that directory, open it. If you do not already have a userconfig.cfg:
    1. Right-click in the folder
    2. Go to: New > Text Document
    3. Rename the file userconfig.cfg
    4. Open the file with Notepad
  • Type into the document clientport 270XX where XX are the last two digits of the clientport number. Acceptable values include 05 - 19 and 21 - 32
  • Save your userconfig.cfg
  • Launch your game

0 kutukan: