Deploying a Team Fortress 2 Server through the Linode Marketplace

Traducciones al Español
Estamos traduciendo nuestros guías y tutoriales al Español. Es posible que usted esté viendo una traducción generada automáticamente. Estamos trabajando con traductores profesionales para verificar las traducciones de nuestro sitio web. Este proyecto es un trabajo en curso.
Create a Linode account to try this guide with a $100 credit.
This credit will be applied to any valid services used during your first 60 days.

Team Fortress 2 (TF2) is a team-based multiplayer first-person shooter game. In TF2, you and your team choose from 9 unique classes and play against an enemy team in a variety of game modes. These modes include capture the flag, king of the hill, and even a battle pitting your team against a robotic horde.

Setting up a personal game server puts you in control of the game modes and maps you use, as well as a variety of other settings to customize your experience.

Deploying the Team Fortress 2 Marketplace App

The Linode Marketplace allows you to easily deploy software on a Linode using the Linode Cloud Manager.

  1. Log in to the Cloud Manager and select the Marketplace link from the left navigation menu. This displays the Linode Compute Create page with the Marketplace tab pre-selected.

  2. Under the Select App section, select the app you would like to deploy.

  3. Fill out all required Options for the selected app as well as any desired Advanced Options (which are optional). See the Configuration Options section for details.

  4. Complete the rest of the form as discussed within the Getting Started > Create a Linode.

  5. Click the Create Linode button. Once the Linode has provisioned and has fully powered on, wait for the software installation to complete. If the Linode is powered off or restarted before this time, the software installation will likely fail. To determine if the installation has completed, open the Linode’s Lish console and wait for the system login prompt to appear.

  6. Follow the instructions within the Getting Started After Deployment section.

Software installation should complete within 5-15 minutes after the Linode has finished provisioning.

Configuration Options

Team Fortress 2 Options

You can configure your Team Fortress 2 App by providing values for the following fields:

FieldDescription
RCON PasswordThe password for the remote console, which allows you to issue commands on the TF2 server. Required.
Server NameYour Team Fortress 2 server’s name. Advanced Options.
Message of the DayMessage of the day. Text displayed whenever a player logs on to the server. Advanced Options
Server PasswordThe password for the TF2 server. Configuring a TF2 server password will require users of your game server to provide this password. Advanced Options
Game Server Login TokenA Steam game server login token. This is required to publicly list your server. To get a Steam Token, visit the Steam Game Server Account Management page. Advanced Options
Team Balance EnabledAutomatically balance the number of players on a team. Advanced Options
Maximum RoundsThe maximum amount of rounds before the map changes. Advanced Options
Round Time LimitThe time per round, in minutes. Advanced Options

General Options

For advice on filling out the remaining options on the Create a Linode form, see Getting Started > Create a Linode. That said, some options may be limited or recommended based on this Marketplace App:

  • Supported distributions: Debian 9
  • Recommended minimum plan: 4GB Dedicated CPU or Shared Compute Instance

Getting Started after Deployment

Ensure that you have installed Team Fortress 2 to your computer before getting started with this section. You can install Team Fortress 2 from Steam’s Web Store.

After the Team Fortress 2 Server Marketplace App has finished deploying to your Linode, you will be able to access your server by copying your Linode’s IPv4 address and connecting to it within the game installed on your computer. To find your Linode’s IPv4 address and connect to it:

  1. Click on the Linodes link in the sidebar. You will see a list of all your Linodes.

  2. Find the Linode you just created when deploying your app and select it.

  3. Navigate to the Networking tab.

  4. Under the IPv4 heading, you will find your IPv4 address listed under the Address column.

  5. Copy the IPv4 address.

  6. Open Team Fortress 2 on your computer, then open the developer’s console by pressing the back tick key (`).

  7. Type connect 192.0.2.155. Replace 192.0.2.155 with the IP address of your Linode, and then click Submit.

    This connects you to the server.

Software Included

The Team Fortress 2 Marketplace App will install the following required software on your Linode:

SoftwareDescription
Team Fortress 2Game server.
LinuxGSMA command line tool for the deployment and management of Linux game servers.
UFWFirewall utility. Ports 27014:27050/tcp, 3478:4380/udp, 27000:27030/udp, and 26901 will allow outgoing and incoming traffic.
Fail2banFail2Ban is an intrusion prevention software framework that protects computer servers from brute-force attacks.
Note
Currently, Linode does not manage software and systems updates for Marketplace Apps. It is up to the user to perform routine maintenance on software deployed in this fashion.

This page was originally published on


Your Feedback Is Important

Let us know if this guide made it easy to get the answer you needed.


Join the conversation.
Read other comments or post your own below. Comments must be respectful, constructive, and relevant to the topic of the guide. Do not post external links or advertisements. Before posting, consider if your comment would be better addressed by contacting our Support team or asking on our Community Site.