Koozali.org: home of the SME Server

TeamSpeak server on SME (moved)

Offline cool34000

  • *
  • 339
  • +0/-0
TeamSpeak server on SME (moved)
« on: August 26, 2006, 11:16:31 PM »
I searched a howto for TeamSpeak with SME server and didn't find a complete howto...
So, i'm just putting together a lot of stuff founded in several posts
Here's one who worked for me...
I've tested it on a SME 6.0.1-01 and on a SME 7.0 final install and it works very well... As i'm quite new and noob with SME, i didn't tested it on other  versions...

First of all, download ts2_server_rc2_20201.tar.bz2 (latest stable)here

then, make a file called teamspeak with that : (cut+paste)
Code: [Select]
#! /bin/bash
# Copyright (c) 2004 TeamSpeak team   All rights reserved.
#
# Author: pwk.linuxfan 2004
# Modified by Derek "Cybernaut" Jackson - www.DigitalNines.com
#
# chkconfig: 345 85 15
# description: Runs and kills TeamSpeak Voice server at boot time and shutdown.
# Source function library.
#. /etc/rc.d/init.d/functions

# START OF CONFIG SECTION
# WARNING ! For security reasons we advise: DO NOT RUN THE SERVER AS ROOT
USER=teamspeak
DIR=/home/teamspeak/tss2_rc2
# END OF CONFIG SECTION

# See how we were called.
case "$1" in
        start)
                if [ -e $DIR/tsserver2.pid ]; then
                        echo "tsserver2.pid already exists...server already started ?";
                        echo "If you are sure the server is not running, delete tsserver2.pid"
                        exit 1
                else
                        if [ "$UID" = "0" ]; then
                                for c in $(seq 1 10); do
                                        echo -n "!"
                                        sleep 1
                                done
                                echo !
                        fi
                        echo "Starting the TeamSpeak Voice server..."
                        if [ -e $DIR/server_linux ]; then
                                if [ ! -x $DIR/server_linux ]; then
                                        echo "server_linux is not executable; trying to set it."
                                        chmod u+x $DIR/server_linux
                                fi
                                if [ -x $DIR/server_linux ]; then
                                        WD=pwd
                                        cd $DIR
                                        su $USER -c "$DIR/server_linux -PID=tsserver2.pid" &
                                        cd $WD
                                else
                                        echo "server_linux is not executable; fix this."
                                        exit 4
                                fi
                        else
                                echo "Couldnt find server_linux."
                                exit 5
                        fi
                fi
        ;;
    stop)
                if [ -e $DIR/tsserver2.pid ]; then
                        echo -n "Stopping the TeamSpeak Voice server..."
                        if ( kill -TERM cat $DIR/tsserver2.pid ); then
                                for c in $(seq 1 300); do
                                        if [ -e $DIR/tsserver2.pid ]; then
                                                echo -n "."
                                                sleep 1
                                        fi
                                done
                        fi
                        if [ -e $DIR/tsserver2.pid ]; then
                                echo "server does not shutdown cleanly - killing"
                                kill -KILL cat $DIR/tsserver2.pid
                                rm $DIR/tsserver2.pid
                                sleep 5
                        else
                                echo "done"
                        fi
                else
                        echo "tsserver2.pid is missing; is the server stopped already?"
                        #exit 7 - Should not be here as doesn't allow restart if server is already stopped.
                fi
        ;;
        restart)
                $0 stop && $0 start || exit 1
        ;;
        status)
                if [ -e $DIR/tsserver2.pid ]; then
                        echo "The TeamSpeak Voice server is running."
                        exit 0
                else
                        echo "The TeamSpeak Voice server is stopped."
                        exit 3
                fi
        ;;
        passwords)
                if [ -e $DIR/server.log ]; then
                        date=$(cat $DIR/server.log | grep "admin account info: username: admin" | tail -n 1 | sed "s/^\([0-9]\+-[0-9]\+-[0-9]\+ [0-9]\+:[0-9]\+:[0-9]\+\).*$/\1/")
                        spass=$(cat $DIR/server.log | grep "superadmin account info: username: superadmin" | tail -n 1 | sed"s/^.*username: superadmin password: \([a-z0-9]\+\).*$/\1/")
                        pass=$(cat $DIR/server.log | grep "admin account info: username: admin" | tail -n 1 | sed "s/^.*username: admin password: \([a-z0-9]\+\).*$/\1/")
                        echo "Following passwords were generated on $date"
                        echo "superadmin = \"$spass\""
                        echo "admin      = \"$pass\""
                else
                        echo "server.log not found; maybe the server has not been started yet?"
                        exit 1
                fi
        ;;
        *)
                echo "Usage: $0 {start|stop|restart|status|passwords}"
                exit 2
esac
exit 0

Don't modify this file untill you know what you're doing... That's how TS starts and stop !!!

I saved all the files (this one + the downloaded package)  in /root/addons/tss2 so you have to modify the following to feet your needs !
Code: [Select]
echo "Installation de TeamSpeak Server 2 RC2"
useradd -d /home/teamspeak teamspeak -p your_teamspeak_password_here
cp /root/addons/tss2/ts2_server_rc2_20201.tar.bz2 /home/teamspeak/ts2_server_rc2_20201.tar.bz2
cd /home/teamspeak
tar -xjf ts2_server_rc2_20201.tar.bz2
rm ts2_server_rc2_20201.tar.bz2
cp /root/addons/tss2/teamspeak /etc/init.d/teamspeak
chmod 755 /etc/init.d/teamspeak
ln -s /etc/rc.d/init.d/teamspeak /etc/rc.d/rc7.d/S98teamspeak
ln -s /etc/rc.d/init.d/teamspeak /etc/rc.d/rc6.d/K03teamspeak
cd /home/teamspeak/tss2_rc2
./teamspeak2-server_startscript start
sleep 2
./teamspeak2-server_startscript stop
cd /home/teamspeak
chown teamspeak:teamspeak * -R
service teamspeak start
# echo "/sbin/iptables --append INPUT -p udp --dport 8767 -i \$OUTERIF -j ACCEPT" > /etc/e-smith/templates/etc/rc.d/init.d/masq/42AllowTS
# /sbin/e-smith/expand-template /etc/rc.d/init.d/masq

A user called teamspeak is created (change his password in the script !)
Don't mind of the root warning during installation, it's a way to fix a problem during installation, the start script is first started with root rights, then it shutdowns, change owner and then start the service with the good user !
If you server is in gateway+server mode, then you have to uncomment the last 2 lines (not tested on both versions of SME, but seen on another forum) to open open port 8767UDP... If as me you're in server-only mode, just redirect port 8767UDP from the firewall/nat to your server's IP

After installation, just open /home/teamspeak/tss2_rc2/server.log with your favorite text editor and grab the admin and superadmin passwords (radomly generated at the install stage)
Then, go to http://yourserver:14534 to configure the few settings in the web interface... And connect to it with the client, all should be working !
TeamSpeak client is available for all platforms...

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: TeamSpeak server on SME (moved)
« Reply #1 on: August 31, 2006, 12:19:59 PM »
Quote from: "cool34000"

After installation, just open /home/teamspeak/tss2_rc2/server.log with your favorite text editor and grab the admin and superadmin passwords (radomly generated at the install stage)


You could probably do the following to get the passwords...

Code: [Select]
cd /home/teamspeak/tss2_rc2
./teamspeak2-server_startscript passwords
Regards,
William

IF I give advise.. It's only if it was me....

Offline cool34000

  • *
  • 339
  • +0/-0
TeamSpeak server on SME (moved)
« Reply #2 on: August 31, 2006, 10:32:07 PM »
Thanks for the tip !

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
TeamSpeak server on SME (moved)
« Reply #3 on: September 01, 2006, 05:36:34 PM »
Quote from: "cool34000"
Thanks for the tip !


I've had an attempt at creating a How-To which is more within the SMEServer guidelines.

http://no.longer.valid/phpwiki/index.php/How-To%20install%20TeamSpeak%20on%20SME%207.0%20%28and%20start%20it%20on%20boot%20up%29
Regards,
William

IF I give advise.. It's only if it was me....

Offline cool34000

  • *
  • 339
  • +0/-0
TeamSpeak server on SME (moved)
« Reply #4 on: September 02, 2006, 06:09:41 PM »
Thanks for making a more 'sme-like' howto.

I've tested it, and it's working fine !!!


Has someone tested it in server-gateway mode ?

Offline cool34000

  • *
  • 339
  • +0/-0
TeamSpeak server on SME (moved)
« Reply #5 on: September 05, 2006, 08:23:42 PM »
I've tested on a server-gateway and it works fine too.

Offline cool34000

  • *
  • 339
  • +0/-0
TeamSpeak server on SME (moved)
« Reply #6 on: September 10, 2006, 10:28:57 PM »
You will also need to open the port in server-only mode to accept external connexions to TS Server.

Just follow willam_syd's howto and type those more lines :
Code: [Select]
echo "/sbin/iptables --append INPUT -p udp --dport 8767 -i \$INTERNALIF -j ACCEPT" > /etc/e-smith/templates/etc/rc.d/init.d/masq/42AllowTS
Code: [Select]
expand-template /etc/rc.d/init.d/masq

This should open the TS server to Internet :-D
I got that after doing iptables -L :
Quote
ACCEPT     udp  --  anywhere             anywhere            udp dpt:8767

Offline cool34000

  • *
  • 339
  • +0/-0
TeamSpeak server on SME (moved)
« Reply #7 on: September 11, 2006, 12:09:54 AM »
OK, I've managed to create a better template witch should open port 8767 in iptables according to the server mode (serveronly or server+gateway)

So now, 42AllowTS should look like this :
Code: [Select]
   if [ -n "$OUTERIF" ]; then
        /sbin/iptables --append INPUT -p udp --dport 8767 -i $OUTERIF -j ACCEPT
    else
        /sbin/iptables --append INPUT -p udp --dport 8767 -i $INTERNALIF -j ACCEPT
    fi


Don't forget to expand template :
Code: [Select]
expand-template /etc/rc.d/init.d/masqand to restart masq :
Code: [Select]
service masq restart


I think the howto should be updated william_syd.

Thanks

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
TeamSpeak server on SME (moved)
« Reply #8 on: September 11, 2006, 09:05:41 AM »
Quote from: "cool34000"



I think the howto should be updated william_syd.

Thanks


I agree. Just select 'Edit' at the bottom of the how-to page. :-D

Here is a link to 42AllowTS.
Regards,
William

IF I give advise.. It's only if it was me....

Offline cool34000

  • *
  • 339
  • +0/-0
TeamSpeak server on SME (moved)
« Reply #9 on: September 11, 2006, 03:31:43 PM »
Done !
It's up to date now. Thanks for linking the file William...

Didn't know I could edit a howto... :-D How noob am I ??? :hammer:

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
TeamSpeak server on SME (moved)
« Reply #10 on: September 11, 2006, 03:42:38 PM »
You can edit most pages here that are part of the wiki. Some are locked and you need to be a "very very special person" to change them  :-)

Back when I was an ultra noob.. http://forums.contribs.org/index.php?topic=30320.msg127167#msg127167
Regards,
William

IF I give advise.. It's only if it was me....

Offline cool34000

  • *
  • 339
  • +0/-0
TeamSpeak server on SME (moved)
« Reply #11 on: September 11, 2006, 04:53:36 PM »
I guess this is what man call 'community'... This is really new for me since I am totally new to linux world.

But I gotta say I really love this way of working...

kaukomieli

TeamSpeak server on SME (moved)
« Reply #12 on: December 19, 2006, 08:10:55 PM »
edit: as soon as you ask for help - you find a solution ;)

Offline harshl

  • *
  • 32
  • +0/-0
TeamSpeak server on SME (moved)
« Reply #13 on: January 22, 2007, 12:55:51 AM »
This is fantastic thanks to those who put this together!
-Landon

boss_hog

TeamSpeak server on SME (moved)
« Reply #14 on: January 27, 2007, 05:18:26 PM »
Hi yall,
firstly, thanks for the efforts on the TS contrib.

Now for the layout. I have an SME7.1 >test box(TB)< hanging out
behind my SME7.1 >production machine(PM)< which is an
server-gateway/webserver/mail etc..
I have followed the How-To above to install TS on my test box(TB),
and then setup my SME7.1 (PM) to forward UDP-port 8767 to the
SME7.1 (TB). I have also install the 42AllowTS to the SME7 (TB).

Q1). can the above setup work?

Q2). any thoughts on why I can't get a TS connection from the WAN side?

My logs didn't show any obvious errors(to my eyes!). IOW, I didn't see
any connection fails etc..

This setup is not critical.. testbox! I am doing it to learn a little more and
try to have a little fun.
Any thoughts much appreciated
Joe

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
TeamSpeak server on SME (moved)
« Reply #15 on: January 28, 2007, 10:12:31 AM »
Can you connect on the lan side ?
Regards,
William

IF I give advise.. It's only if it was me....

boss_hog

TeamSpeak server on SME (moved)
« Reply #16 on: January 28, 2007, 04:44:19 PM »
Hi William,

Quote

Can you connect on the lan side ?

Yes I can.

Since my previous post I have gotten TS to work.
And I *may* have found a bug in the Port Forwarding Panel.
As it turned out the Port Forward rule was not being applied from the Server Manager.
When I went into the console and ran the commands:

expand-template /etc/rc.d/init.d/masq
service masq restart

It started working as expected. I will be visiting the Bug Tracker later on tonight.
Thanks
Joe

Offline Lourens

  • *
  • 40
  • +0/-0
TeamSpeak server on SME (moved)
« Reply #17 on: March 12, 2007, 10:37:46 PM »
@boss_hog,

Did you put this in the bugtracker? (I cannot find it)

followed the how-to on a clean 7.1.2 server (server-only) and cannot reach the server from the wan side.  
When i do a service masq stop, then it is reachable so the problem has to do something with port-opening.

Is this the same problem you had. Can you please name the bug ID (or tell me what I am doing wrong)

Lourens
......

boss_hog

TeamSpeak server on SME (moved)
« Reply #18 on: March 13, 2007, 05:55:29 PM »
Hi Lourens,

Quote
Did you put this in the bugtracker? (I cannot find it)


No, sorry, I did not.
After making that post and looking through my logs, it was obvious that my SME7 production machine(PM) was forwarding the port.

What I could not figure out, was why the SME7 testbox(TB) was ignoring the forward. The Teamspeak server did start working, however.

After upgrading my SME7(TB) to 7.1.2, the Teamspeak server is not respongding, again.
I may have a little time next week to look at this gem again.
Joe

P.S. for the record, at the moment my TS server is accessible from the LAN, but is not reachable from the WAN.

Offline Lourens

  • *
  • 40
  • +0/-0
TeamSpeak server on SME (moved)
« Reply #19 on: March 13, 2007, 09:08:27 PM »
Boss_hog,

I have  the same problems on 2 (server-only) servers that I upgraded from 7.1 to 7.12. Not accesible from WAN. I have not enough knowledge to define what may have caused this, so I hope you can make a bug report.

Lourens
......

Offline cool34000

  • *
  • 339
  • +0/-0
TeamSpeak server on SME (moved)
« Reply #20 on: March 14, 2007, 05:15:56 PM »
Hi there !

It looks like TS is working in server+gateway mode but it's not working anymore on a server-only SME. On a serveronly SME, I can also connect from LAN but not from the outside...
Could this be caused by the template 42AllowTS ?
I'm wondering if this template is really needed... Should the port (8767 UDP) be opened with the conventionnal command
Quote
config set teamspeak service status enabled UDPPort 8767 access public

Can someone confirm the command is good/will work ?

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
TeamSpeak server on SME (moved)
« Reply #21 on: March 15, 2007, 05:20:48 AM »
I would get rid of the template, set the db with your command and do a signal-event remoteaccess-update

I'm not using TS at the moment.
Regards,
William

IF I give advise.. It's only if it was me....

nicocha

TeamSpeak server on SME (moved)
« Reply #22 on: March 15, 2007, 07:51:21 AM »
Quote from: "cool34000"
Hi there !

It looks like TS is working in server+gateway mode but it's not working anymore on a server-only SME. On a serveronly SME, I can also connect from LAN but not from the outside...
Could this be caused by the template 42AllowTS ?
I'm wondering if this template is really needed... Should the port (8767 UDP) be opened with the conventionnal command
Quote
config set teamspeak service status enabled UDPPort 8767 access public

Can someone confirm the command is good/will work ?


In my case, i used teamspeak in server only mode too. And it work with SME 7.1.1. btu when i upgrade to sme 7.1.2, it doesn't work. I can access to teamspeak with LAN but not with WAN. I have a tools in other internet site that indicate to me that teamspeak is runing with test on 8767 port. But nobody can connecte to my server even if i think tha 8767 port is open.

http://www.tsviewer.com/index.php?page=ts_viewer&ID=19155

Is there a link where i can test that 8767 port is open in both direction?
is there on SME 7.1.2 something to indicate that this port is for a service (teamspeak)?  Is there with iptables a restriction to all UDP port?

Thank for respond.
Sorry for my poor english (i am french)

nicocha

TeamSpeak server on SME (moved)
« Reply #23 on: March 21, 2007, 10:04:18 AM »
As i use the SME serveur behind a routeur that make firewall. I desactivat the masq service and teamspeak can be access by WAN area.

It is strange to have a firewall on a server that is in green area.

Nicocha

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
TeamSpeak server on SME (moved)
« Reply #24 on: March 21, 2007, 11:26:53 AM »
Quote
Q:   Which ports does the server use?   

A:   

Voice   TeamSpeak 2 client:   8767 UDP   
Webinterface   Browser: http://server_ip:webinterface_port   14534 TCP   
HTTPServer Port=12345
TCP query   telnet server_ip tcpquery_port   51234 TCP   

To get your server working behind a router/firewall you only need to forward/open port 8767 UDP (not TCP).

Q:   Some people can't connect to my server, some can. How to fix?   

A:   
Symptoms:

    * People who are using a home router (NAT) CAN'T connect to your server, but they CAN connect to other servers.
    * People connected directly to the internet, CAN connect to your server.
    * The machine that is running the server has more than one external ip number.


The server is probably sending replies using a different ip address than the one the clients connect to. (Most likely they connected to an alias, not the primary ip). Nat routers don't know what to do with this foreign incoming data (unknown ip+port), and drop the packets.

Solution:

    * Open the file server.ini that is created in the same directory where the server executable is located.
    * Look for the following line in section [Main Config]:

      BoundToIp1=

    * Modify it like this:

      BoundToIp1=213.202.254.117

This will make the server listen and send only on the specified address. Even easier is to let the clients connect to the primary IP of the machine.

Note: You can bind the server to multiple IP addresses by adding additional BoundToIp options (i.e. BoundToIp2, BoundToIp3, etc.) to your server.ini.
Regards,
William

IF I give advise.. It's only if it was me....

Offline Lourens

  • *
  • 40
  • +0/-0
TeamSpeak server on SME (moved)
« Reply #25 on: March 22, 2007, 08:26:34 PM »
Quote

Q: Which ports does the server use?

A:

Voice TeamSpeak 2 client: 8767 UDP
Webinterface Browser: http://server_ip:webinterface_port 14534 TCP
HTTPServer Port=12345
TCP query telnet server_ip tcpquery_port 51234 TCP

To get your server working behind a router/firewall you only need to forward/open port 8767 UDP (not TCP).

Q: Some people can't connect to my server, some can. How to fix?

A:
Symptoms:

* People who are using a home router (NAT) CAN'T connect to your server, but they CAN connect to other servers.
* People connected directly to the internet, CAN connect to your server.
* The machine that is running the server has more than one external ip number.


The server is probably sending replies using a different ip address than the one the clients connect to. (Most likely they connected to an alias, not the primary ip). Nat routers don't know what to do with this foreign incoming data (unknown ip+port), and drop the packets.

Solution:

* Open the file server.ini that is created in the same directory where the server executable is located.
* Look for the following line in section [Main Config]:

BoundToIp1=

* Modify it like this:

BoundToIp1=213.202.254.117

This will make the server listen and send only on the specified address. Even easier is to let the clients connect to the primary IP of the machine.

Note: You can bind the server to multiple IP addresses by adding additional BoundToIp options (i.e. BoundToIp2, BoundToIp3, etc.) to your server.ini.

@boss_hog and Nicocha; Was this the solution for your problem. I can still not connect on the WAN site. Do you have the same problems or am I doing something wrong? I didn't make any changes in teamspeak or my router, problem occured when I did the upgrade from 7.1 tot 7.12

Lourens
......

nicocha

TeamSpeak server on SME (moved)
« Reply #26 on: March 23, 2007, 07:52:14 AM »
Quote from: "Lourens"

@boss_hog and Nicocha; Was this the solution for your problem. I can still not connect on the WAN site. Do you have the same problems or am I doing something wrong? I didn't make any changes in teamspeak or my router, problem occured when I did the upgrade from 7.1 tot 7.12

Lourens


Has i say, i have stop the masq service. Has you are in serveur mode, behind a routeur (that make firwall) i think you can stop masq (the sme firwall with iptable). (i didn't try william_syd solution because it's work befor upgrade from 7.1 to 7.1.2)

For that i use a contrib "service" but also you can test with the commande
service masq stop

and if it's work delete the SXXmasq link int /etc/rc.d/rc7.d with XX a number.

Nicocha

Offline cool34000

  • *
  • 339
  • +0/-0
TeamSpeak server on SME (moved)
« Reply #27 on: March 23, 2007, 09:03:58 AM »
Hey !

I'd rather wait for an explanation (there must be one !). It was working before v7.1.2, something must have changed in SME configuration !
I don't think it's a good idea to desactivate the firewall (even if you're in server-only mode).

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
TeamSpeak server on SME (moved)
« Reply #28 on: March 23, 2007, 10:33:29 AM »
Quote
I don't think it's a good idea to desactivate the firewall (even if you're in server-only mode).

Server only mode doesn't have a firewall.
"It should just work" if it doesn't report it. Thanks!

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
TeamSpeak server on SME (moved)
« Reply #29 on: March 23, 2007, 10:33:50 AM »
Quote from: "nicocha"
Quote from: "Lourens"

@boss_hog and Nicocha; Was this the solution for your problem. I can still not connect on the WAN site. Do you have the same problems or am I doing something wrong? I didn't make any changes in teamspeak or my router, problem occured when I did the upgrade from 7.1 tot 7.12

Lourens


Has i say, i have stop the masq service. Has you are in serveur mode, behind a routeur (that make firwall) i think you can stop masq (the sme firwall with iptable). (i didn't try william_syd solution because it's work befor upgrade from 7.1 to 7.1.2)

For that i use a contrib "service" but also you can test with the commande
service masq stop

and if it's work delete the SXXmasq link int /etc/rc.d/rc7.d with XX a number.

Nicocha


Thats not really the best way.

Code: [Select]
config setprop masq status disabled
/etc/rc.d/rc7.d/S36masq stop
Regards,
William

IF I give advise.. It's only if it was me....

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
TeamSpeak server on SME (moved)
« Reply #30 on: March 23, 2007, 10:42:10 AM »
Quote from: "cool34000"
Hey !

I'd rather wait for an explanation (there must be one !). It was working before v7.1.2, something must have changed in SME configuration !
I don't think it's a good idea to desactivate the firewall (even if you're in server-only mode).


What does
Code: [Select]
iptables -L |grep 8767
give you?
Regards,
William

IF I give advise.. It's only if it was me....

boss_hog

TeamSpeak server on SME (moved)
« Reply #31 on: March 23, 2007, 04:31:05 PM »
Hi William,

Quote from: "william_syd"

What does
Code: [Select]
iptables -L |grep 8767
give you?


[root@sme7test ~]# iptables -L |grep 8767
ACCEPT     udp  --  anywhere             anywhere            udp dpt:8767
ACCEPT     udp  --  anywhere             sme7test.<mydomain>.com udp dpt:8767

The above was run with the firewall running.

In my testing, since my testbox(TB) was updated, the only way I can
connect to the TS2 server from the WAN is to disable the firewall: S36masq stop

This is not my preferred method, but the TS2 server is behind
another SME Server(my production machine).
Joe

Offline cool34000

  • *
  • 339
  • +0/-0
TeamSpeak server on SME (moved)
« Reply #32 on: March 25, 2007, 05:21:31 AM »
Hi !

Mine is only giving me that :
Code: [Select]
#iptables -L |grep 8767
ACCEPT     udp  --  anywhere             myserver.mydomain.com udp dpt:8767
The problem should come from elsewhere...

I also tryed to change the 'BoundToIp1' to my external ip address and when I restart the service I get this error :
Code: [Select]
Error, Either an old instance of teamspeak is still running, or an other application is using the tcpquery port!Removing it solve the problem of course and I can start my service again.

boss_hog

TeamSpeak server on SME (moved)
« Reply #33 on: March 29, 2007, 06:36:02 PM »
Howdy yall,
a bug was reported(not confirmed) that may be part
of the TS2 problem.
Check out Bug #2812 in the bug tracker, http://bugs.contribs.org/show_bug.cgi?id=2812
Joe

Offline cool34000

  • *
  • 339
  • +0/-0
TeamSpeak server on SME (moved)
« Reply #34 on: March 29, 2007, 07:45:32 PM »
Hi

Great find !!!
That could be a part of TS problem. I will do some tests with the fix proposed from the bugtracker on a test server... And tell the results here of course !

Offline cool34000

  • *
  • 339
  • +0/-0
TeamSpeak server on SME (moved)
« Reply #35 on: April 01, 2007, 11:42:54 AM »
Hi all !

I've tested the fix proposed from the bugtracker and TeamSpeak is working now... 8)  :D  8)

I've created a custom template to fix the problem, anyone doing so should remember to delete the custom template when masq's rpm will be updated !

Offline harry

  • 3
  • +0/-0
It misses the signs around the pwd command
« Reply #36 on: May 24, 2007, 11:54:23 AM »
In script called "teamspeak" (first page, first post)

Quote

                                if [ -x $DIR/server_linux ]; then
                                        WD=pwd
                                        cd $DIR
                                        su $USER -c "$DIR/server_linux -PID=tsserver2.pid" &
                                        cd $WD
                                else


it misses the signs around the pwd command :
Quote
WD=`pwd`

Offline cool34000

  • *
  • 339
  • +0/-0
TeamSpeak server on SME (moved)
« Reply #37 on: May 24, 2007, 12:26:12 PM »

Offline cool34000

  • *
  • 339
  • +0/-0
TeamSpeak server on SME (moved)
« Reply #38 on: June 06, 2007, 04:15:04 AM »
Hi all,

I've made a try on building an rpm of TeamSpeak Server for SME 7.x
You can download rpms and/or srpms here

Any comments/suggestions will be welcome.


Have fun!

Best regards,
Sylvain