Spis treści

Handbook compatible with VPS LXC (NAT)

How do I install and configure a TeamSpeak server on VPS LXC (NAT)?

First, connect to the server via an SSH connection. If you have not already done so, we recommend using our instructions to establish a secure connection via SSH.

Installing the TeamSpeak server

1 First, update the package management system by typing the following commands (may take a while):

apt-get update
apt-get upgrade


2. download the latest version of the TeamSpeak3 server

wget https://files.teamspeak-services.com/releases/server/3.13.7/teamspeak3-server_linux_amd64-3.13.7.tar.bz2 -O teamspeak3-server


3. extract the archive

tar -jxvf teamspeak3-server


4. delete the zipped archive by typing

rm -r teamspeak3-server


5. navigate to the unzipped folder

cd teamspeak3-server_linux_amd64


Accept the TeamSpeak Systems GmbH server license.

touch .ts3server_license_accepted


7. create a TeamSpeak server configuration file

touch ts3server.ini


8. open the configuration file you created

nano ts3server.ini


9. enter the following configuration into the file

You can find a list of available ports assigned to your server in the VPS panel by going to the Network tab.

If you are unfamiliar with the operation of the network and do not know which ports to enter in the fields below, skip the first port in the list, then select the next three and enter them into the configuration;

voice_ip=0.0.0.0
default_voice_port=<domyślny port połączenia do serwera teamspeak> (UDP type)
query_ip=0.0.0.0
query_port=<port umożliwiający połączenie botów automatyzacji> (TCP type)
filetransfer_ip=0.0.0.0
filetransfer_port=<port umożliwiający przesyłanie plików oraz ikonek> (TCP type)


9. save the configuration you entered

(CTRL + O saves. CTRL + X exits the Nano).


10. edit ts3server_startscript.sh startup script

nano ts3server_startscript.sh

In the first lines find COMMANDLINE_PARAMETERS="" and replace it with COMMANDLINE_PARAMETERS="inifile=ts3server.ini"

(CTRL + O saves. CTRL + X exits Nano.)

Starting the server

To enable the TeamSpeak server type:

./ts3server_startscript.sh start

A message with the TeamSpeak server administrator login details will be displayed.
These are important, so it is worth remembering them. To get to the command line press ENTER.

Server configuration

If everything has been installed correctly, the script will start the server. You will use the following commands to manage the status of the server:

Shutdown:

./ts3server_startscript.sh stop

Startup:

./ts3server_startscript.sh start

Restarting:

./ts3server_startscript.sh restart

Display current server status:

./ts3server_startscript.sh restart

Connecting to the server

Download the latest version of the TeamSpeak client from the website https://www.teamspeak.com/en/your-download/.

  1. Open the client and log in.
  2. Then create a new connection.
  3. You will be prompted to enter the server IP address, password and username.
  4. When you connect for the first time, you will be asked for the key to obtain administrator rights.
  5. Enter the key to obtain full rights on the channel.

You can now use TeamSpeak with your friends by sending them the IP address and password of the server.