How to Set Up a Teamspeak 3 Server on Linux
Teamspeak 3 remains the gold standard for low-latency voice communication in competitive gaming and community management.
1. Create a Dedicated User
sudo adduser --disabled-login teamspeak2. Download Teamspeak Server
sudo su - teamspeak
wget https://files.teamspeak-services.com/releases/server/3.13.7/teamspeak3-server_linux_amd64-3.13.7.tar.bz2
tar -xjf teamspeak3-server_linux_amd64-3.13.7.tar.bz2
mv teamspeak3-server_linux_amd64/* . && rmdir teamspeak3-server_linux_amd64
rm teamspeak3-server_linux_amd64-3.13.7.tar.bz2Note: Check teamspeak.com for the latest server version.
3. Accept the License
touch .ts3server_license_accepted4. First Start (Save Your Credentials!)
./ts3server_startscript.sh startCRITICAL: The first boot will print your Server Admin Token and ServerQuery admin password to the console. Copy and save these immediately, you will need the token to claim admin rights in your Teamspeak client. They are only displayed once.
5. Create a Systemd Service
Exit back to root (exit) and create a service file so the server starts on boot:
sudo nano /etc/systemd/system/teamspeak.service[Unit]
Description=Teamspeak 3 Server
After=network.target
[Service]
User=teamspeak
Group=teamspeak
Type=forking
ExecStart=/home/teamspeak/ts3server_startscript.sh start inifile=ts3server.ini
ExecStop=/home/teamspeak/ts3server_startscript.sh stop
Restart=on-failure
RestartSec=15
[Install]
WantedBy=multi-user.targetsudo systemctl daemon-reload
sudo systemctl enable --now teamspeak6. Firewall
sudo ufw allow 9987/udp # Voice
sudo ufw allow 30033/tcp # File transfer
sudo ufw allow 10011/tcp # ServerQueryConnect with your Teamspeak 3 client using your server IP. Use the admin token from Step 4 when prompted to claim Server Admin privileges.
Ready for your own game server?
Launch your own gaming project on our high-performance KVM VPS with maximum AMD Ryzen single-core power, ultra-fast NVMe storage, and real Layer 3/4/7 DDoS protection (PletX & SmartNet). 100% prepaid with no contract lock-in.