How to install and configure TeamSpeak on Linux: step-by-step guide

Introduction

TeamSpeak is one of the most popular voice communication solutions among gamers, development teams, and communities that require low latency and high audio quality. Although originally designed for Windows, its Linux version has matured significantly, offering both native client and server that integrate seamlessly with any distribution. In this article we will show you, step by step, how to install, configure, and optimize TeamSpeak in a Linux environment, from downloading the package to launching a secure server and daily client use.

Prerequisites

Before you begin, make sure you meet the following requirements:

  • A Linux distribution based on Debian/Ubuntu, Fedora, Arch, or any other that supports .deb or .rpm packages.
  • Access to a user account with sudo privileges.
  • A stable Internet connection to download binaries and updates.
  • At least 1 GB of RAM and a dual‑core processor to avoid bottlenecks on servers with many simultaneous users.
  • UDP port 9987 (voice), TCP port 10011 (query), and TCP port 30033 (file transfer) open in the firewall.

Downloading and installing the TeamSpeak server

The simplest method is to download the official tarball from the TeamSpeak website and extract it into a directory of your choice. Follow these steps:

  1. Open a terminal and create a directory for the server: mkdir -p ~/teamspeak-server && cd ~/teamspeak-server
  2. Download the latest stable version (for example, 3.13.0) with wget https://files.teamspeak-services.com/releases/server/3.13.0/teamspeak3-server_linux_amd64-3.13.0.tar.bz2
  3. Extract the file: tar -xvf teamspeak3-server_linux_amd64-3.13.0.tar.bz2
  4. Enter the extracted directory: cd teamspeak3-server_linux_amd64
  5. Accept the license by creating the file touch .ts3server_license_accepted
  6. Start the server with ./ts3server_startscript.sh start

The script will display on screen the admin token you will need for the first client connection. Keep it in a safe place.

Initial server configuration

Once the server is running, you can adjust its behavior by editing the ts3server.ini file. Some recommended options for a production environment are:

  • default_voice_port=9987 – keeps the standard voice port.
  • filetransfer_port=30033 – port for file transfers.
  • query_port=10011 – remote query port (useful for admin scripts).
  • logpath=logs – defines where logs will be stored.
  • logquerycommands=1 – enables logging of all query commands for auditing.

After modifying the file, restart the server with ./ts3server_startscript.sh restart for the changes to take effect.

Creating channels and managing permissions

The TeamSpeak client connects to the server via its IP address or hostname and port 9987. On the first connection, log in as administrator using the token you obtained when starting the server. From there you can:

  • Create root channels and subchannels to organize different topics (game, development, off‑topic).
  • Assign server groups (Admin, Moderator, User) and define permissions such as b_channel_create_child, b_channel_delete, or b_client_kick.
  • Set channel passwords for private spaces.
  • Configure bandwidth limits and maximum number of clients per channel to prevent abuse.

Remember that permission changes take effect in real time, so it is advisable to test each adjustment with a test account before applying them to the main groups.

Security and best practices

Keeping your TeamSpeak server secure is essential to prevent unauthorized access and resource abuse. Some recommended measures include:

  • Regularly update the server binary following the same download procedure.
  • Change the query port (10011) to a non‑standard number if you only use it locally, and block external access via iptables or firewalld.
  • Enable two‑factor authentication on admin accounts using the official security plugin (if available).
  • Monitor the logs located in logs/ to detect failed connection attempts or suspicious commands.
  • Limit file transfers to safe MIME types and set a maximum file size.

With these practices, your server will be protected against most common attacks and will provide a stable experience for your users.

Using the TeamSpeak client on Linux

The TeamSpeak client is also available for Linux and is installed similarly to the server. Download the corresponding tarball, extract it, and run the binary ts3client_linux_amd64. On first launch, the client will ask for the server address, your nickname, and, if needed, the admin token. Some useful client features are:

  • In‑game overlay to see who is speaking without leaving the application.
  • Management of multiple identities to separate gaming, work, and leisure profiles.
  • Compatibility with Opus and Speex codecs, which provide excellent voice quality even on low‑bandwidth connections.
  • Integration with third‑party add‑ons, such as music bots or reward systems.

Once connected, you can adjust audio quality in Settings → Options → Capture and Playback, selecting the appropriate input and output devices and enabling echo cancellation and noise reduction.

Troubleshooting common issues

Although TeamSpeak is quite robust, certain inconveniences may arise. Here is a list of the most frequent problems and how to solve them:

  • Cannot connect to the server: Verify that the server is running (./ts3server_startscript.sh status) and that ports 9987 UDP and 10011 TCP are open in the firewall.
  • Low or robotic voice quality: Make sure you are using the Opus codec (default) and that your upload bandwidth is sufficient (≥64 kbps per client).
  • Client closes unexpectedly: Check the client log logs/client.log for error traces; often this is due to audio library incompatibilities (PulseAudio vs ALSA).
  • No file transfers: Confirm that TCP port 30033 is allowed and that the server’s file‑size limit is not set too low.
  • Lost admin token: Stop the server, delete the file .ts3server_license_accepted, and restart the server; a new token will be generated.

If after following these steps the problem persists, the official TeamSpeak community and your Linux distribution’s forums are excellent resources for additional help.

Conclusion

Installing and configuring TeamSpeak on Linux is a straightforward process that, once completed, provides a powerful, low‑latency voice communication platform fully under your control. By following the steps for download, permission adjustment, security hardening, and proper client use, you can create a reliable chat environment for both gaming sessions and collaborative work. Remember to keep the server updated and monitor the logs to ensure optimal performance over the long term. You are now ready to launch your own TeamSpeak server and enjoy clear, secure conversations with friends, teammates, or your community.