Self-hosting a TeamSpeak 3 server
Updated: 12 August 2026 · Guide · VPS · Voice server
A TeamSpeak 3 server is frugal. Voice chat needs hardly any RAM or CPU; even the smallest VPS is enough for a medium-sized community.
Server files
Download the official server package from teamspeak.com, unpack it and start it with the licence accepted:
wget <download-link-from-teamspeak.com> tar xjf teamspeak3-server_linux_amd64-*.tar.bz2 cd teamspeak3-server_linux_amd64 ./ts3server_startscript.sh start license_accepted=1
On first start the console prints two things you should write down: the ServerAdmin login (privilege key) and the ServerQuery credentials. The privilege key can't be displayed again later.
Open the ports
TS3 needs three ports: 9987/UDP for the voice connection, 30033/TCP for file transfer, 10011/TCP for ServerQuery.
sudo ufw allow 9987/udp sudo ufw allow 30033/tcp sudo ufw allow 10011/tcp
Permanent operation
Without a systemd service the server won't survive a VPS reboot. The bundled start script can be wrapped directly in a systemd unit that starts automatically at boot.
You connect with the TeamSpeak client software using the VPS IP as the server address, done.
The systemd service
The bundled start script ends as soon as the SSH session ends. For permanent operation, a unit goes in /etc/systemd/system/ts3.service:
[Unit] Description=TeamSpeak 3 Server After=network.target [Service] Type=forking User=<username> WorkingDirectory=/home/<username>/teamspeak3-server_linux_amd64 ExecStart=./ts3server_startscript.sh start license_accepted=1 ExecStop=./ts3server_startscript.sh stop Restart=on-failure [Install] WantedBy=multi-user.target
sudo systemctl daemon-reload sudo systemctl enable --now ts3
Missed the privilege key, what now?
The key is only printed on the very first start. If you miss it (and that happens, because it sits among a lot of other output), you can't get admin rights on your own server. It's not entirely lost, though: it is also in the log files of the first start, and a new one can be generated via the ServerQuery interface.
grep -ri 'token' ~/teamspeak3-server_linux_amd64/logs/ | head
The simpler way: after the very first start, copy the complete console output and store it safely before anything else happens.
Licence and slot limit
Without a separate licence, a TeamSpeak 3 server is limited to 32 simultaneous users and one virtual server instance. For the vast majority of private groups and clans that is more than enough. If you want more, you need a licence from TeamSpeak itself. It is tied to the server's operator, not to the host, and is not provided by us.
Back up the database
The entire state of the server (channels, permissions, groups, users) lives in a single SQLite file. Backing it up is the whole backup strategy, and losing it means rebuilding the channel structure by hand:
sudo systemctl stop ts3 cp ~/teamspeak3-server_linux_amd64/ts3server.sqlitedb ~/backups/ts3-$(date +%F).sqlitedb sudo systemctl start ts3
Stopping first isn't overcaution: copying a database file while it is in use can produce a copy with a half-written state that can no longer be opened later.
How big does the VPS need to be?
TeamSpeak is one of the most frugal things you can run on a server: voice data is passed on, not processed. The demand is for bandwidth and a stable connection, not computing power.
The smallest tier is enough for it, and it is still enough if a small web server runs alongside.
- See the smallest VPSThe entry tier is enough for TS3
- Build your own sizeIn case more should go on the server
- First: SSH and firewallThe foundation for every guide here