TeamSpeak or Mumble: licence, slots and resources
The TeamSpeak 3 server runs on Linux, in a folder of its own, under a user without administrator rights. It needs no kernel module: it works in our container VPS (LXC) just as in a virtual machine. Three things to know before you start:
- The licence: according to TeamSpeak support, a non-commercial TeamSpeak 3 server can run with no licence fee, limited to one virtual server and 32 slots. Beyond that, you need a licence bought from the publisher. The server also refuses to start until you have accepted its licence agreement.
- The admin key: on the very first start, the server shows a privilege key (privilege key, or token) that grants the Server Admin group, and the password of the ServerQuery
serveradmin account. Write them down straight away: the key works only once.
- Resources: voice travels in small, regular UDP packets. A voice server needs little processor and little memory; low latency from your users' homes matters far more.
Mumble is the free alternative: no licence to buy and no imposed slot limit. Its server, mumble-server, is in the Debian and Ubuntu repositories and listens on port 64738, over TCP and UDP. The SuperUser admin account is set with dpkg-reconfigure mumble-server. Everything is detailed in the guide installing Mumble on a VPS.
The ports to open, and the ones to keep closed
TeamSpeak support lists two ports that users require:
- 9987 over UDP: voice. It is the port of the first virtual server; if you change it, your users add it to the address (
address:port).
- 30033 over TCP: file transfer (avatars, icons, files dropped in channels).
sudo ufw allow 9987/udp
sudo ufw allow 30033/tcp
sudo ufw status
Keep the ServerQuery ports closed: 10011 over TCP (raw), 10022 over TCP (SSH) and 10080 over TCP (WebQuery). Users do not need them, and they give full control of the server; on port 10011, the password travels in clear text. Administer ServerQuery from the VPS itself, or through an SSH tunnel (see connecting to a VPS over SSH).
For Mumble, open port 64738 over TCP and UDP: without UDP, voice goes over TCP, with more delay. Checking ports from outside is explained in the guide game server ports.
Installing TeamSpeak on a VPS, step by step
- Order the first tier of an Intel VPS or a Ryzen VPS, with a recent Debian or Ubuntu. Today's price is shown on each plan on this page.
- Secure access: SSH key, firewall, automatic updates, with the guide securing a Linux VPS.
- Install the server: a dedicated user, the official Linux archive unpacked in
/opt/teamspeak, the licence accepted, then a systemd service so it starts with the VPS. The commands are in the guide creating a TeamSpeak server.
- Get the admin key from the first-start log (command below), then open ports 9987/UDP and 30033/TCP.
- Connect with the TeamSpeak client to the VPS's IPv4 address and enter the key: you are now in the Server Admin group.
- Put your users in the right groups and create permanent channels, with the guide TeamSpeak groups and permissions.
sudo journalctl -u teamspeak --no-pager | grep -iE "token|password"
Backups are your responsibility. The server's whole state is in its folder: the ts3server.sqlitedb database (channels, groups, permissions, keys) and the files folder. Stop the service, archive the folder, restart, then copy the archive off the VPS. Also take a backup before each server update, and do not put updates off.
When a TeamSpeak VPS is not the right choice
- You do not want to administer anything: on a VPS, the system, the TeamSpeak server, its updates and its backups are your responsibility, and CloudFive does not offer a ready-made TeamSpeak.
- You need more than 32 slots without buying a licence: choose Mumble, which has no such limit.
- You prefer Windows: the Windows VPS is a KVM virtual machine, Windows Server licence included.
- The game server matters more than voice: a ready-to-use game plan can spare you administering a VPS. The list is on the plans page, and the gaming VPS page helps you pick a VPS to host both.
- Your users are far from France: our servers are in France, and latency can be heard in the voice.