Trust Your Technolust

Month: August 2019

Setup your own TeamSpeak server on Windows

Prerequisites

Windows server 2008 R2 or later, Server 2008 (i.e. the Vista based Server OS is no longer supported.)

A copy of your favourite archiver program (WinRAR, 7-Zip etc..), we’ll use WinRAR in this example.

Install the TeamSpeak Server

Download the latest version from your preferred vendor, at the time of writing WinRAR is at version 5.50, so we will download WinRAR x64 (64 bit) 5.50 from http://www.rarlab.com/download.htm

Download the latest TeamSpeak Server for Windows from http://www.teamspeak.com/en/downloads.html#server at the time of writing this is Server 64-bit 3.0.13.8

Extract the archive to anywhere you like on your system, ideally you do not want to extract the files to any of C:\, C:\Windows\, C:Program Files\, as these folders are protected by windows UAC and may be problematic later.

Browse to the folder you extracted the files in and run ts3server.exe.

A window will pop up with information about your server, save this information in a safe place as you need it to become server admin.

With your TeamSpeak client connect to the IP of your server, when you connect a windows will pop up asking for the server token, this is the longest random string you were given in the previous step, enter this and you will be given server admin.

You can now administrate your TS3 server instance as you like.

Now you have your shiny new server, why not promote it on a TeamSpeak Server List? The extra exposure could help you become the number one server on the planet some day.

All of this too much? You can make a free Private TeamSpeak channel on many public servers.

TeamSpeak SRV Record setup (Cloudflare)

Requirements

  • A domain of your choosing, you can purchase one from somewhere like Namecheap.
  • A working recent TeamSpeak server version.
  • A Cloudflare account, although these instructions should apply to any DNS hosting.
  • A static IP for TeamSpeak, this isn’t strictly required, but do you really want to keep updating your DNS records when your IP changes?

What is an SRV record?

The SRV record allows you to specify a hostname and port in a DNS record to allow you to point to services without a client having to specify a port number, it also has the added benefit of allowing you to have your services all pointed to for the base domain name for all services, even if they’re on different IP’s. For example tldrtips.com could point to a TeamSpeak server and this website at the same time, even though the services woudl have different IP’s.

So how can do I add an SRV record for TeamSpeak?

First we’ll need to add an A record for a subdomain that points to our TeamSpeak server, go to your Cloudflare dashboard (https://dash.cloudflare.com) and click your domain, then press the DNS tab.

Select an A record from the drop down in the section to add new records and enter the following, replacing 127.0.0.1 with your TeamSpeak server IP address.

TSSRV1.png

After you’ve pressed “Add Record” then we’ll need to add the SRV record, in the drop down press SRV and a pop up like the following should appear.

TSSRV2.png

We’ll use the following values

Service : _ts3

Protocol : UDP

Name : tldrtips.com

For Service we always enter “_ts3”, which is the service name for TeamSpeak.

Protocol is always UDP, TeamSpeak is primarily a UDP application.

Name will be the (sub)domain that you want to use for TeamSpeak, you could use ts.tldrtips.com if you desire a subdomain, but for simplicity for the user we’ll pick tldrtips.com.

When you press save the following pop up will appear, for a simple setup we’ll use the following values

Priority : 0

Weight : 4

Port : 9987

Target : ts.tldrtips.com

Priority is the order in which SRV record of the same type will be looked at, a priority of 0 is the highest priority, this could be used to have fall-back servers if your main server is down, but TeamSpeak does not have this ability so we’ll keep it as 0.

Weight is considered when 2 records have the same priority, this could be used in other services for load balancing servers, but, again, TeamSpeak does not have this functionality.

Port will be the port of your TeamSpeak server, by default this is 9987, which we’ll sue here, your host may have given you a different port to use, so please check. this is NOT the query port of TeamSpeak.

Target is a pointer to the A record we made before we started to make this SRV record, this has to match the A record you made earlier or nothing will work.

TSSRV3.png

 

Press the save button. After all that is done you should have a working SRV record for TeamSpeak, you should see something similar to the following if all is working and well.

TSSRV4.png

 

Now you have a new SRV record set up, why not promote it on a TeamSpeak Server List? The extra exposure could help you become the number one server on the planet some day.

Too complicated? You can make a free Private TeamSpeak channel on many TeamSpeak servers.

TeamSpeak Server on Linux/BSD

Generic Linux Install Instructions

Create a new user to run the TeamSpeak server under, this is very important so you keep processes separate from each other.

adduser teamspeak

Switch to the teampseak user

su teamspeak

Download the latest Teamspeak server from https://www.teamspeak.com/en/downloads/#server

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

Unpack the archive

tar xvjf teamspeak3-server_linux_amd64-3.8.0.tar.bz2

Change directory to the folder

cd teamspeak3-server_linux_amd64

Run the TeamSpeak server

./ts3server_startscript.sh start

Your console will show a server admin/password and server token, save these in a safe place for later. The server should be started at this point, With your TeamSpeak client connect to the IP of your server, when you connect a windows will pop up asking for the server token, this is the longest random string you were given in the previous step, enter this and you will be given server admin. You can now administrate your TS3 server instance as you like.

Generic BSD Install Instructions

Create a new user to run the TeamSpeak server under.

fetch http://dl.4players.de/ts/releases/3.0.13.8/teamspeak3-server_freebsd_amd64-3.0.13.8.tar.bz2 

Unpack the archive

tar xvjf teamspeak3-server_freebsd_amd64-3.0.13.8.tar.bz2 

Change directory to the folder

cd teamspeak3-server_freebsd_amd64 

Run the TeamSpeak server

./ts3server_startscript.sh start

 

Your console will show a server admin/password and server token, save these in a safe place for later. The server should be started at this point, With your TeamSpeak client connect to the IP of your server, when you connect a windows will pop up asking for the server token, this is the longest random string you were given in the previous step, enter this and you will be given server admin. You can now administrate your TS3 server instance as you like.

Now you have your shiny new server, why not promote it on a TeamSpeak Server List? The extra exposure could help you become the number one server on the planet some day.

© 2024 TL;DR Tips

Theme by Anders NorénUp ↑