Install teamspeak for NethServer

Teamspeak what is it ?
TeamSpeak is software for quality voice communication via the Internet. Our platform offers a client-server architecture where client and server software is clearly separated. This means our server product runs as a dedicated server, rather than peer-to-peer. The TeamSpeak server software is literally capable of handling thousands of simultaneous clients or users, which results in an Internet-based teleconferencing solution that works for a repertory of different applications such as an alternative to conference calls, cutting long distance telephone costs, or just as a method of personal communication with friends and family.

The software is free of charge to non-profit entities while commercial or for-profit entities have the ability to become part of our licensing program.

How to install teamspeak on NethServer.

  1. First of all, you’ll need to login (with SSH) to your server, now let’s begin by downloading the latest version of the Linux Teamspeak server:

    wget http://teamspeak.gameserver.gamed.de/ts3/releases/3.0.11.3/teamspeak3-server_linux-amd64-3.0.11.3.tar.gz

  2. Extract the content of downloaded archive to /opt directory:

    tar xvf teamspeak3-server_linux-amd64-3.0.11.3.tar.gz -C /opt

  3. Create a symbolic link:

    ln -s /opt/teamspeak3-server_linux-amd64/ts3server_startscript.sh /etc/init.d/teamspeak3
    update-rc.d teamspeak3 defaults

  4. Start tsserver:

    service teamspeak3 start

And the result is:


                  I M P O R T A N T                           

           Server Query Admin Account created                 
     loginname= "serveradmin", password= "bmJNJIbl"


                  I M P O R T A N T                           

  ServerAdmin privilege key created, please use it to gain 
  serveradmin rights for your virtualserver. please
  also check the doc/privilegekey_guide.txt for details.

   token=luoRPWz4yhOkkeMaSyAoW4ttiBPAs1yOyCeEiJdb

For clients:

Teamspeak client currently runs on many platform: Windows, iOS, Linux, Android (http://www.teamspeak.com/?page=downloads).
To install the Linux client:

  1. After downloading the client version:
    chmod 755 TeamSpeak3-Client-linux_amd64-3.0.16.run

  2. And:
    ./TeamSpeak3-Client-linux_amd64-3.0.16.run
    (accept the license)

  3. Now, move into the new directory and:

     ./ts3client_runscript.sh
    

Enjoy !

4 Likes

It seems interesting, I’m going to test it out in the next days :+1:

1 Like

Thank you for this, Matteo. I run TeamSpeak on a separate server, but it would be useful to have it running on my NS box.

2 Likes

You’re welcome !

I don’t know TeamSpeak
but i’m curious,
why using TeamSpeak instead ejabbed + jitsi ?
what will be the advantage and the difference ?

2 Likes

Hi
Lets hope this goes to the right place.
Appologize for bumping an old topic.
I have my setup running on a debian box today, but I’m currently moving it over to NethServer.

I have installed and setup Teamspeak on my new nethserver now.
I can connect to it from a LAN machine, but have problems connecting to it outside my network.
The ports have been forwared in my pfsense firewall. So this is correct.
To be sure, I installed teamspeak server on my desktop, and forwared the port there with no problems.

So I was thinking, is there some internal firewall in nethserver that prohibit access from outside my network?
I see no reason why it shouldn’t work. But since I’m new to centos and nethserver, there might be something blocking.
I run the latest RC2 of Nethserver 7

NethServer is using shorewall.
You can add the ports following this guide:
http://docs.nethserver.org/en/v7rc/third_party.html

Then you’ll be able to manage them from the UI.

P.S. Which procedure did you follow to install teamspeak?

Thanks will check that out.
Eeh I used my brain :stuck_out_tongue:

But its pretty similar to all.

Install bzip2 (for eztracting the ts3server)
Download and extract
craeate a user for running ts.
setting permissions.
and run the startup as a cron job.

I can make a better guide if you want. But that is bascially the steps I took here.

You should be aware of that this howto is only for 6.8

well. the howto isn’t really the problem. And there is not much changed.
my problem is accessing it externally.
So there must be something in NethServer that is blocking everything but LAN access.

You need to forward ports from your router to your NS box

For a default teamspeak configuration, these ports did the trick on a clean NS7 instance

UDP: 9987
TCP: 10011
TCP: 30033

Then on NS:

create new services:

open them up to the world

I would reccomend not using default ports when possible, not running the server as root, and not opening it up to the whole world but restrict access to the needed remote locations, if possible.

2 Likes

Hi thanks for the reply.
Yes that is the correct ports for Voice (and query and FTP)
I think I managed to find a workaround to get it work.
I’m not sure why, but for some reason I have to set destination in firewall rule to any.
Setting it to the host itself doesn’t work.
This setting is not working.


But changing ddd-app-01 to any solved it.
(it’s not the biggest problem, since this firewall is only local, but would be preferable to be able to route a port to a single machine instead of any)

Not sure why though.

On the additional notes:
Default ports makes it easier but see your point.
You never run as root. (almost)
Restrict access on a teamspeak server?
That would be really hard and high maintenance.
Enabling all location people are connecting from is near to impossible.