Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Security and Privacy
FedoraForum Search

Forgot Password? Join Us!

Security and Privacy Sadly, malware, spyware, hackers and privacy threats abound in today's world. Let's be paranoid and secure our penguins, and slam the doors on privacy exploits.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 13th October 2004, 02:56 AM
OberonKenObi's Avatar
OberonKenObi Offline
Registered User
 
Join Date: Jul 2004
Location: Oberon AU
Age: 47
Posts: 75
Running TeamSpeak server through ipTables

Hi
I have a nice install of FC 2 that is used to protect my WinXP games box from itself. It has installed/configured on it the firewall using ipTables, The rule set was one sourced from the net and (if i understand it correctly) it refuses all activity except NEW (if i initiate it) or if its an ESTABLISHED or RELATED from others. This was installed by a more knowledgable Linux person than me, but this time I would like to do for myself and learn.
I wish to use software called Teamspeak. I can use the client version perfiktly (;+P), however it will not allow me to set up a server. I had a look at a tutorial from the web as to how to create a rule/rules to allow this, but alas it seems a bit complex for my talents (and also not wishing to stuff what I have).
Following is an excerpt from the help files.....

If you are using a firewall TeamSpeak requires to have an UDP port open. The standard port for this is UDP port 8767 but can be configured in the server.ini file of the TeamSpeak server.
Im not sure that I need this bit below, but someone may know...
You can use TeamSpeak 2 even if you are behind a firewall with NAT. You’ll have to ask your firewall admin (might be you yourself) to forward the UDP port 8767 (the standard port, it can be configured though) to your computer or use connection tracking in the firewall rules.

So I guess what im asking is for some advice as to how to go about telling the firewall to allow incoming communication from ONLY the others on the same channel as me.
As a further thing, is this port one that can be exploited by a malicious user (since i just announced it here). I may be overly paranoid about this but I prefer to be safe than sorry. Thanks all in advance.

Yours
OberonKenObi
Reply With Quote
  #2  
Old 13th October 2004, 02:17 PM
Cookie Offline
Registered User
 
Join Date: Oct 2004
Posts: 1
Yes! I'm having the same problem! Some one please help
Reply With Quote
  #3  
Old 13th October 2004, 05:17 PM
ghenry's Avatar
ghenry Offline
Retired Community Manager
 
Join Date: Mar 2004
Location: Scotland
Age: 34
Posts: 1,019
East to setup with http://firestarter.sourceforge.net/
__________________
http://blog.suretecsystems.com
Reply With Quote
  #4  
Old 13th October 2004, 10:39 PM
OberonKenObi's Avatar
OberonKenObi Offline
Registered User
 
Join Date: Jul 2004
Location: Oberon AU
Age: 47
Posts: 75
Hey thanks Ghenry,
So firestarter is just an easy front for the iptables? If so I will download and try that, and good luck to Cookie as well.
__________________
^
^
The more I know, the more I know that I don't know.
Reply With Quote
  #5  
Old 14th October 2004, 10:16 AM
ghenry's Avatar
ghenry Offline
Retired Community Manager
 
Join Date: Mar 2004
Location: Scotland
Age: 34
Posts: 1,019
Yeah, very easy and does NAT and realtime reporting of firewall hits etc.
__________________
http://blog.suretecsystems.com
Reply With Quote
  #6  
Old 14th October 2004, 10:20 AM
superbnerd
Guest
 
Posts: n/a
While your at it, learn to love yum to install all your package needs.
Code:
yum install firestarter
If you setting up NAT or other advanced features, be sure to rtfm.
Reply With Quote
  #7  
Old 14th October 2004, 03:54 PM
Dog-One's Avatar
Dog-One Offline
Registered User
 
Join Date: Sep 2004
Location: NORTHCOM
Posts: 813
Quote:
Originally Posted by OberonKenObi
So I guess what im asking is for some advice as to how to go about telling the firewall to allow incoming communication from ONLY the others on the same channel as me.
As a further thing, is this port one that can be exploited by a malicious user (since i just announced it here). I may be overly paranoid about this but I prefer to be safe than sorry.
When you say "channel", you're talking about the TeamSpeak2 channel, correct?

You can use netfilter (iptables) to DNAT to your Windows machine on a specific port but this port is still open to the world. What you may want to do is run a TeamSpeak2 server on your firewall (Linux machine). That way you can connect to it from your Windows machine with the TS2 client and you won't have anyone banging directly on your Windows box. You can do the initial setup from a browser, get your admin and superadmin passwords set, then turn off the browser port on the TS2 server. Then when you want to configure the server, just connect as a SA to create channels, kick and ban incoming users.

I do recommend that you create a special user account on the Linux server to run TS2 server. That way should it get hacked, the attacker will be limited to what the regular user account can do.
__________________
Please give credit where credit is due--say thanks in the active thread.
Refresh yourself with the Posting Guidelines........Frequently Asked Questions........Registered Linux User #369513
Reply With Quote
  #8  
Old 15th October 2004, 12:52 AM
OberonKenObi's Avatar
OberonKenObi Offline
Registered User
 
Join Date: Jul 2004
Location: Oberon AU
Age: 47
Posts: 75
Hey thanks guys (and any anonymous girls)
All answers were helpful, especially the most recent. Dog-One, yes the channell ,i was refering to is on the TS application. I have the TS server on the Linux box, configured with webmin and i never log in as root (unless i need to) so will my usual user account will be ok for this, or make another non su account with even more limited rights?
One final question, if i install Firestarter, have downloaded it with yum (thanks superbnerd) and i dont want to change the iptables I have but just make a copy and manipulate that, where is the file located I cant seem to find it?
Thanks again all.
__________________
^
^
The more I know, the more I know that I don't know.
Reply With Quote
  #9  
Old 15th October 2004, 03:23 AM
Dog-One's Avatar
Dog-One Offline
Registered User
 
Join Date: Sep 2004
Location: NORTHCOM
Posts: 813
Cool

Quote:
Originally Posted by OberonKenObi
All answers were helpful, especially the most recent. Dog-One, yes the channell ,i was refering to is on the TS application. I have the TS server on the Linux box, configured with webmin and i never log in as root (unless i need to) so will my usual user account will be ok for this, or make another non su account with even more limited rights?
That should be okay. Somewhere I read to make a specific user just for this (tss as I recall). You could chroot jail this account if you are real paranoid. I just set mine up as a normal user account and made TSS a clan server so it doesn't advertise. If you use iptraf with TSS running, you will notice that it tries to phone home. I blocked mine from doing that by filtering the outbound port it uses.

I still like to dig into the nuts-n-bolts so I don't use a GUI to configure iptables. I have a pretty large shell script for that--it's been refined considerably over the last few years. My net is as tight as I can manage to get it; I'm sure there are still holes, but hey.

Something you may want to do is collect the static IPs from the folks that will be using your TSS and only enable those IPs to talk to it. For the folks that don't have static IPs, you could get the network segments from the ISPs they use and just enable those. It wouldn't be perfect but you could certainly limit connections from 95% of the world that way. The group I chat with using TS2 had a problem a while back--we were getting kids connecting and blabbering nonsense. The SA tried banning them and they would just come back with a different IP, so we finally filtered as I just mentioned it that took care of that problem. The only other solution is to have moderated channels and/or passwords, but that gets to be a pain.

BTW, if answers you get are helpful, please remember to bump people's reputation.
Reply With Quote
  #10  
Old 15th October 2004, 03:01 PM
OberonKenObi's Avatar
OberonKenObi Offline
Registered User
 
Join Date: Jul 2004
Location: Oberon AU
Age: 47
Posts: 75
Already bumped both you Dog-One and Superbnerd. Its so quick and easy, everyone shouild take a few moments to give kudos to those peeps who take the time to read our posts and profer solutions.
I have decided passwords and moderated channels is for me. A bit of inconvenience for thew others will pay back the hassle of xtra config for me. Plus there is only limited users anyways so its no big deal.
Thank you both for invaluable help and advice.
__________________
^
^
The more I know, the more I know that I don't know.
Reply With Quote
Reply

Tags
iptables, running, server, teamspeak

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No iptables process running but filtering working fire-fly Security and Privacy 6 17th April 2006 03:23 AM
FC5 - udp firewalled without iptables running! knocker Servers & Networking 4 1st April 2006 07:13 PM
Problems with firestarter and iptables after running 'yum update' odiseo77 Using Fedora 0 31st January 2006 03:12 PM
Teamspeak Server running as a service punklinux Servers & Networking 9 5th June 2005 07:54 AM
How do I set up fc3 to accept connections from PC on NFS, and keep iptables running? kwaanens Servers & Networking 1 20th December 2004 09:01 PM


Current GMT-time: 04:05 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat