In this tutorial, we’ll show you how to set up a TeamSpeak 3 server on Linux, Windows, or Mac OS in a matter of minutes. If you need a reliable and lightweight tool to communicate with friends or colleagues, then creating a TS3 server (TeamSpeak 3) is one of the best options. Upon completion, you will know how to make a TS3 server on Windows, Mac OS or in a virtual server with .
How to create a TS3 server on Ubuntu 16.04
To get started, let’s see how we can set up a TeamSpeak 3 server on a running Ubuntu 16.04.
The whole process starts at and can be broken down into 6 simple steps.
Before proceeding, it’s best to check if your system is up to date by typing:
apt-get update && apt-get upgrade
Step 1: Create a new system user
First, add a new user by running the following command:
adduser –disabled-login teamspeak
You will be asked to enter the user’s personal details and confirm that they are correct. Please note that all fields can be left blank.
Then, go into the home directory of the newly created user:
cd /home/teamspeak
The following task is for Linux. You can use the to download the installation file directly to the VPS:
wget http://dl.4players.de/ts/releases/3.1.2/teamspeak3-server_linux_amd64-3.1.2.tar.bz2
Once it’s done, extract the file:
tar xvf teamspeak3-server_linux_amd64-3.1.2.tar.bz2
All content will appear in the directory teamspeak3-server_linux_amd64. So, the next thing will be to move everything to /home/teamspeak and delete the downloaded file:
cd teamspeak3-server_linux_amd64 && mv * /home/teamspeak && cd .. && rm -rf teamspeak3-server_linux_amd64-3.1.2.tar.bz2
run the command ls and you will see a screen similar to this if everything was done correctly:
Step 3: Accept the TeamSpeak 3 license agreement
Since the release of TeamSpeak 3 server version 3.1.0, it is mandatory to accept a license agreement. The fastest way to do this is by typing the following command:
touch /home/teamspeak/.ts3server_license_accepted
This will create a new empty file called .ts3server_license_acceptedwhich will act as the license agreement.
Step 4: Start the TeamSpeak 3 server on boot
Now it’s time to configure the TS3 server to start the server boot. To do so, we will need to create a file called teamspeak.service In the address book /lib/systemd/system. The following command will do:
sudo nano /lib/systemd/system/teamspeak.service
The file must contain:
Description=TeamSpeak 3 Server After=network.target WorkingDirectory=/home/teamspeak/ User=teamspeak Group=teamspeak Type=forking ExecStart=/home/teamspeak/ts3server_startscript.sh start inifile=ts3server.ini ExecStop=/home/teamspeak/ts3server_startscript .sh stop PIDFile=/home/teamspeak/ts3server.pid RestartSec=15 Restart=always WantedBy=multi-user.target
Paste the content into the newly created file and save it. Next, we will need to activate the script and have it start on server startup.
systemctl enable teamspeak.service systemctl start teamspeak.service
Check if it was added with:
systemctl | grep teamspeak.service
If the TS3 server is running correctly, you will see the following output:
You can also check a detailed status of the TeamSpeak 3 server by running:
service teamspeak status
Step 5: Retrieve the privileged key
Since the TeamSpeak 3 server is running now, let’s add the last piece of the puzzle: the privileged key. You will need to paste it when you connect to the server for the first time. You can see it with the following command:
cat /home/teamspeak/logs/ts3server_*
Step 6: Connect through the TeamSpeak 3 client
The last step is to connect to the newly created TS3 server and apply the privileged key. Use your dedicated IP address when you connect.
You will then be immediately prompted to enter the token.
And that’s it! You have successfully created and connected to a TeamSpeak 3 server running on Ubuntu 16.04 VPS.
How to create a TS3 server on CentOS 7
Setting up a TeamSpeak 3 server on a VPS running CentOS 7 is a fairly similar procedure. It can also be divided into 6 steps. Start by and update the system:
yum -y update
Step 1: Create a new system user
Start by creating a dedicated user for the TS3 server. Run the following:
adduser teamspeak
This will create the user and set their home directory to /home/teamspeak. Login with:
cd /home/teamspeak
Then 3 for Linux. The fastest way to do this is to use the wget command:
wget http://dl.4players.de/ts/releases/3.1.2/teamspeak3-server_linux_amd64-3.1.2.tar.bz2
When it’s done, you’ll need to extract the file:
tar xvf teamspeak3-server_linux_amd64-3.1.2.tar.bz2
The extracted files will be in the folder teamspeak3-server_linux_amd64. Use this set of commands to move an entire directory up and to remove the extracted server configuration file:
cd teamspeak3-server_linux_amd64 && mv * /home/teamspeak && cd .. && rm -rf teamspeak3-server_linux_amd64-3.1.2.tar.bz2
If all went well, you should see this screen when you enter the command ls:
Step 3: Accept the TeamSpeak 3 license agreement
TeamSpeak 3 requires you to accept its license agreement. There are several ways to do it. The simplest is to run:
touch /home/teamspeak/.ts3server_license_accepted
A file named .ts3server_license_acceptedwhich means that you have agreed to the terms of the license.
Step 4: Start the TeamSpeak 3 server on boot
Next, we will need to enable the TeamSpeak 3 server and start it on server startup:
sudo nano /lib/systemd/system/teamspeak.service
Paste this simple script, which will take care of starting the TS3 server for you:
Description=TeamSpeak 3 Server After=network.target WorkingDirectory=/home/teamspeak/ User=teamspeak Group=teamspeak Type=forking ExecStart=/home/teamspeak/ts3server_startscript.sh start inifile=ts3server.ini ExecStop=/home/teamspeak/ts3server_startscript .sh stop PIDFile=/home/teamspeak/ts3server.pid RestartSec=15 Restart=always WantedBy=multi-user.target
Save the file and enter these two commands to start everything:
systemctl enable teamspeak.service systemctl start teamspeak.service
You can check if the startup script works with:
systemctl | grep teamspeak.serviceFor a more detailed TeamSpeak 3 server report, type: service teamspeak statusStep 5: Get the privileged key
One last thing you need to do is copy the TeamSpeak 3 server token, also known as a privileged key. You can locate it by typing this command:
cat /home/teamspeak/logs/ts3server_*
Step 6: Connect through the TeamSpeak 3 client
And finally, it’s time to use the server we created! Establish a new connection using the TeamSpeak 3 client and enter your dedicated VPS IP address in the field Server alias (Server nickname) or Address (Address).
Once prompted, paste the previously obtained privileged key.
And there you have it! Your own TeamSpeak 3 server running on CentOS 7 VPS.
How to create a TS3 server on Windows
The Windows operating system has a relatively easy TeamSpeak 3 server setup flow. The whole process is done in 3 easy steps.
First of all, for the Windows operating system. Then extract it to any desired location.
Step 2: Run the TeamSpeak 3 server installer
Open the extracted TS3 server files and run the installer ts3server.exe. You will be prompted to accept the license agreement and asked if your firewall should allow this software to run. Once this is done, you will get the privileged key and other useful information.
Step 3: Connect through the TeamSpeak 3 client
Since the installer did all the work for us, the last step is to connect to the TS3 server. In case you are not sure which IP address to use when connecting, open the command prompt and run:
ipconfig
Find the value of the IPv4 address. You will have to use it while connecting.
Lastly, you will need to paste the privileged key to gain admin rights.
And that’s all there is to setting up a TeamSpeak 3 server on Windows!
How to create a TeamSpeak 3 server on Mac OS
It is also possible to create a TeamSpeak 3 server on MacOS. All setup can be completed in 4 easy steps.
Start with for Mac. Once finished, double-click to extract it.
Step 2: Accept the TeamSpeak 3 license agreement
Open a new terminal window and run the following to accept the license agreement:
set TS3SERVER_LICENSE=accept
Step 3: Start the TeamSpeak 3 server and get your privileged key
Go to the extracted TeamSpeak 3 server files using the same terminal window. For example:
cd Downloads/teamspeak3-server_mac
Start the server by typing:
./ts3server
Wait a few moments for the process to finish. On the screen, you will also see your privileged key:
Step 4: Connect through the TeamSpeak 3 client
Now you are ready to use the TeamSpeak 3 server. When you connect, use the IP shown in the section System Preferences > Network.
Don’t forget to paste the privileged key to get server admin rights.
Congratulations! You have created and connected to a TeamSpeak 3 server on Mac OS!
Bonus: How to point a domain to the TS3 server
Now that you know how to create a TeamSpeak 3 server, let’s see how you can simplify the connection process. In this part, you will learn how to point your existing domain using a subdomain with the TeamSpeak 3 server you just created. This is useful if you want to contact your server using a domain name instead of the long IP and port combination.
Step 1: Create the subdomain using A record
Sign in to Advanced -> DNS Zone Editor and look for a section called To (Host). There, create a subdomain and point it to the TS3 server via an A record.
- Host: Specifies the name of the subdomain.
- Address: Type the IP address of your TeamSpeak 3 server instead of the sample address 188,167,216.
- TTL – Leave this at the default value.
click a button Save (Save) and continue with the next step.
Step 2: Create an SRV record
As long as you are in the same section of the DNS zone editor scroll down until you see the admin panel SRV.
- Name: Here you must specify the name of the service _ts3 and the protocol _udp, separated by a period as in the screenshot. After the second period, add the subdomain. The end result should be similar to this: _ts3._udp.teamspeak.-tutorials.com.
- TTL: This term means time to live (Time to Live), and limits the lifetime of this record. Leave the default value here.
- Priority: Give this register the highest priority and set the value to 0.
- Weight: Named relative weight for records with the same priority, set to 5.
- Port: Enter the port of your server; the default TeamSpeak 3 server port is 9987.
- target: instead of…