Koozali.org: home of the SME Server

How do I allow public access to TeamSpeak on SME 6.0?

Karl P.

How do I allow public access to TeamSpeak on SME 6.0?
« on: February 10, 2004, 09:38:28 PM »
I am trying to setup TeamSpeak RC2 on my SME 6.0 server. I have it up and running for my local network, but it is not accessable from the Internet. I tried various port forwarding rules to either 127.0.0.1 or the internal IP address, but these don't work.

The ports are: TCP:14534, 51234 & UDP:8767

Any help is greatly appreciated.

Offline ldkeen

  • *
  • 401
  • +0/-0
Teamspeak server
« Reply #1 on: February 10, 2004, 11:52:29 PM »
Hey Karl,
#mcedit /etc/e-smith/templates/etc/rc.d/init.d/masq/42AllowTS
add the folloing:
/sbin/iptables --append INPUT -p udp --dport 8767 -i $OUTERIF -j ACCEPT
followed by:
#/sbin/e-smith/expand-template /etc/rc.d/init.d/masq
#/sbin/e-smith/signal-event reboot

Karl P.

What about the TeamSpeak TCP ports?
« Reply #2 on: February 15, 2004, 05:47:21 AM »
Thanks for the info, I'll try it this weekend. For the TCP ports would I just add the following as well?

/sbin/iptables --append INPUT -p tcp --dport 14534 -i $OUTERIF -j ACCEPT
/sbin/iptables --append INPUT -p tcp --dport 51234 -i $OUTERIF -j ACCEPT


I'll try it out and see if it works. I'll post the results.

Offline ldkeen

  • *
  • 401
  • +0/-0
Teamspeak
« Reply #3 on: February 15, 2004, 07:01:30 PM »
Karl,
The above is all that's required. I had to set this up for a mate abouth 4 months ago on 6.0b3 and it's been going fine. It does chew a bit of data though, he ended up shutting it down as it was eating up his monthly limit although a lot of providers now offer unlimited downloads.

Karl P.

TeamSpeak works!
« Reply #4 on: February 15, 2004, 09:32:03 PM »
Thank you for your help. The above steps worked.
As far as bandwidth, the server is on a T1 line at my office that is used only for e-mail, no byte limits  :-D

reiniero

Teamspeak setup (was Re: How do I allow public access...)
« Reply #5 on: July 10, 2004, 12:04:36 PM »
Karl, could you tell us which method you used to install Teamspeak? Did you modify startup scripts/templates to have it started automatically?
Where did you install the server and did you use MySQL or the built in SQL server?

I'm trying to install Teamspeak RC2 2.0.20.1it on my SME 6.01-01 server, and want it to run as safely as possible.

(Have got it working, kind of, by following these steps:
login as root
adduser tss
cd /home/tss
wget ftp://webpost.teamspeak.org/releases/ts2_server_rc2_20201.tar.bz2
tar -jxvf ts2_server_rc2_20201.tar.bz2
chown tss:tss *
su tss
starting with start script or ./server_linux works, although some error messages are shown
)

Regards,
Reinier

Quote from: "Karl P."
I am trying to setup TeamSpeak RC2 on my SME 6.0 server. I have it up and running for my local network, but it is not accessable from the Internet. I tried various port forwarding rules to either 127.0.0.1 or the internal IP address, but these don't work.

The ports are: TCP:14534, 51234 & UDP:8767

Any help is greatly appreciated.

Anonymous

Re: Teamspeak setup (was Re: How do I allow public access...
« Reply #6 on: July 10, 2004, 06:35:27 PM »
Quote from: "reiniero"
Karl, could you tell us which method you used to install Teamspeak? Did you modify startup scripts/templates to have it started automatically?
[/quote]

Reiniero, I put the startup script in the /etc/rc.d/rc.local file.  It starts up teamspeak after all other programs are started.

It might not be pretty but it works for me.

Jeff P

pen25

How do I allow public access to TeamSpeak on SME 6.0?
« Reply #7 on: February 06, 2005, 03:21:16 AM »
is there not a contrib for this? I am wanting to setup a backup teamspeak server incase the main goes down and figured since my server is pretty stable and low activity i thought id do this for a friend. is there a how-to for dummies on this? ;-)

StPurple

How do I allow public access to TeamSpeak on SME 6.0?
« Reply #8 on: April 03, 2005, 01:14:50 PM »
Hmmm...

I want to set up a server to...Same problem here. I can connect from my internal network but not from the outside. I've added that line to the firewall rules to open up the udp port. How can I check that it's indeed open and accepting connections?

pen25

How do I allow public access to TeamSpeak on SME 6.0?
« Reply #9 on: April 03, 2005, 03:07:56 PM »
wouldnt running a scan from grc?

StPurple

How do I allow public access to TeamSpeak on SME 6.0?
« Reply #10 on: April 03, 2005, 03:13:52 PM »
That's what I've tried but GRC only scans tcp ports...not udp  :{

I've also tried a tcpdump, not sure if it would poop up in that one.....

Offline arne

  • ****
  • 1,116
  • +0/-4
How do I allow public access to TeamSpeak on SME 6.0?
« Reply #11 on: April 03, 2005, 03:30:07 PM »
http://scan.sygate.com/preudpscan.html

Please inform how teamspeak works on the sme !

It's equivalent to the Ventriloserver ?

Any certain reason to prefer one in front of the other ?

(Have so fare tried none of them, but would like to try soon.)

Arne.
......

StPurple

How do I allow public access to TeamSpeak on SME 6.0?
« Reply #12 on: April 03, 2005, 09:01:38 PM »
the sygate scan shows nothing.....
How can I check on the server itself that the rules is loaded. Should't there be a log file of some stuff?

b.t.w it runs fine on the local network....but I don't need there..al the comps are in the same room.   :}

Offline arne

  • ****
  • 1,116
  • +0/-4
How do I allow public access to TeamSpeak on SME 6.0?
« Reply #13 on: April 04, 2005, 01:31:04 AM »
Log on as root via console or via ssh shell.

Commands:

iptables -L

and

iptables -t nat -L

Should give you a view of the existing fw rules.
......

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: What about the TeamSpeak TCP ports?
« Reply #14 on: April 04, 2005, 03:10:08 AM »
Quote from: "Karl P."
Thanks for the info, I'll try it this weekend. For the TCP ports would I just add the following as well?


The TeamSpeak FAQ says that you only need to open the one UDP port. A custom template, as has been suggested, is the way to do it.