LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-18-2009, 05:50 PM   #1
miskec
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 0
Problem with ports


I install team speak server on my linux VPS.

I use

iptables -A INPUT -i eth0 -p tcp --sport 14534 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A INPUT -i eth0 -p tcp --sport 8767 -m state --state NEW,ESTABLISHED -j ACCEPT

To open tcp 14534 and tcp 8767 tcp ports. First is for web admin for team speak seccond is for team speak client

after that I run

service iptables restart

And all work fine I can access to my web admin http://ip addrreess:14534 and also I can connect to server with my teamspeak client by coling http://ip address:8767

But few minutes later (about 3-4 minutes) all stop working and I caan access to my web admin and I cannt log to teamspeak client

When I again call this function

service iptables restart

All work fine again but again for 3 or 4 minuts

Please help me. Seams that my ports close every 3-4 minutes I dont know what i to do

PLEASE HELP MEEE
 
Old 05-19-2009, 04:13 AM   #2
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
Kinda suprised it works at all. Shouldnt '--sport' be '--dport' ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to block all ports and open only select ports on Ubuntu 7.1 Mr.J Linux - Networking 1 11-18-2008 02:45 AM
open ports for utorrent using iptables n close smpt to that ports shtorrent00 Linux - Networking 2 09-30-2008 03:34 PM
Problem opening ports - ports appear open, but do not work. computer_freak_8 Linux - Software 10 09-20-2008 09:39 PM
how? redirect apache2 outbound ports to specific ports w/iptables? nowshining Linux - Security 5 05-27-2008 02:46 AM
Problem with ports Tigger Linux - General 1 05-31-2003 09:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration