Your own TeamSpeak or Mumble server on a VPS: licence, resources and protection
A voice server is one of the lightest jobs for a VPS. The CPU is barely loaded: the server doesn't encode audio, it only relays already compressed packets from one client to the rest. So the choice of plan for TeamSpeak isn't decided by gigahertz and gigabytes but by three other things: the licence for the number of slots, the quality of the network to participants, and resilience to attacks on the UDP port.
The TeamSpeak licence and free slots
The TeamSpeak server is closed-source software with its own licence. Without a purchase, TeamSpeak 3 runs in free mode: one virtual server and up to 32 slots, that is, up to 32 people at once. For a clan, guild or work team this is usually enough. If you need more slots or several virtual servers on one machine, you'll need a paid licence, and its cost depends on the number of slots, not on the VPS plan.
At the time of writing, TeamSpeak 6 is distributed as a beta server: it comes with a free 32-slot licence that is renewed periodically, and the developer hasn't yet announced the final terms for the stable version. TeamSpeak 3 licences don't carry over to version 6. For a permanent community it's more reliable to keep TeamSpeak 3 and install version 6 alongside it to try out.
Mumble is an open-source alternative: the server (mumble-server, formerly called Murmur) is free and doesn't limit the number of users in software. The only limits are bandwidth and CPU, and for voice there's plenty of both.
How many resources you need
- Memory. A 32-slot TeamSpeak 3 server takes tens of megabytes, so 512 MB is enough together with the system. 1 GB makes sense if a bot, a web panel or a MariaDB database instead of the built-in SQLite runs alongside.
- CPU. One core is enough. Clock speed matters less than for game servers, but an overloaded host with "neighbours" causes choppy voice, so KVM with a dedicated share of a core is preferable.
- Traffic. One talking participant sends and receives roughly 5–10 KB/s depending on the codec. Even 30 people in a channel is only a few megabits, so unmetered traffic isn't essential, but it's worth checking a 1 TB monthly cap if the server runs around the clock.
- Disk. It matters only for file transfers through channels. If you don't use them, the smallest SSD will do.
Bots deserve a separate mention. Music bots for TeamSpeak and Mumble connect as ordinary clients but decode and encode audio themselves, so it's they, not the server, that load the CPU and memory. One such bot takes hundreds of megabytes or more, and if there are several, a 512 MB plan won't do. This doesn't apply to moderation and statistics bots working through ServerQuery: they use almost nothing.
A cheap plan is justified here: the selection includes offers up to about $4 a month, and the general catalogue of cheap VPSs will help you find an option in the location you need.
Network: ping and stability matter more than speed
In voice chat latency is more noticeable than in a browser. Up to 50–60 ms a conversation feels live; beyond 150 ms people start talking over each other. Packet loss and latency spikes are even worse: the client has to enlarge its buffer, and the voice lags. So the server is placed close to most participants: for players in Russia that means Moscow or St Petersburg, and for a mixed group from Russia and Europe, Finland, Germany or the Netherlands will do. If the voice server is for a game, it's handy to keep it in the same location as the game server; more on choosing one is on the VPS for a game server page.
DDoS protection and ports
Public TeamSpeak servers are attacked regularly, most often by players who lost or were kicked from the server. The attack targets the voice UDP port, and without filtering on the host's side the server simply disappears for everyone. Pay attention to how the host filters UDP: some protection systems are designed for web traffic and, when triggered, cut voice packets along with the attack. Plans with filtering are collected in the VPS with DDoS protection selection.
Default TeamSpeak 3 ports:
- UDP 9987: voice, which must be open;
- TCP 30033: file transfer;
- TCP 10011 and 10022: ServerQuery for bots and panels; it's best to close them to the outside or allow only your own addresses.
Mumble uses port 64738 over both TCP and UDP. Right after its first start, TeamSpeak prints the administrator token and ServerQuery password to the console: save them, as they are not shown again. Back up the database and the channel files folder on a schedule, and then moving to another VPS will take a few minutes.