LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-18-2003, 09:51 PM   #1
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Rep: Reputation: 30
Question IPTABLES rules for VOIP client


I have a VOIP software on one of the client machines on my network. And i just can't understand what rules i need to put into my IPTABLES to get it to work. Here's a link to the software support page:

http://www.quicknet.net/support/trou..._isb_index.htm

All other IP MASQUERADING seems to be workign fine.

Please help A.S.A.P
Thank you
 
Old 07-19-2003, 12:41 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
I believe you wiill need to open the H323 related ports.
 
Old 07-19-2003, 01:11 AM   #3
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Original Poster
Rep: Reputation: 30
Yes but how do I do that? What rules do I need to put in?
 
Old 07-19-2003, 02:20 AM   #4
Sutekh
Member
 
Registered: Apr 2002
Location: Melbourne, Australia
Distribution: Gentoo
Posts: 273

Rep: Reputation: 30
I haven't played with H.323 but I found this page that lists the ports (it's in french but there is no real translation needed).

it seems as though there are a few command type ports that is ones that you need to open up to get it working at all, and it uses a random high port number (that is above 1024) for the actual data stream.

For the ones you need to simply open something like

iptables -A INET_IN -i $INET_IF -p tcp --dport 1720 -j ACCEPT

should do the trick (where $INET_IF is the interface you connect to the net with)

for the dynamic ports then some sort of state based rule is best, basically only allow access to these ports if the connection has been established or maybe related (you may need to do a bit of research on the H323 protocol to work this out, or may trial an error it you prefer) so a rule like

$IPTABLES -A FORWARD -o $INET_IF -p tcp --sport 1024: --dport 1024: -m state --state ESTABLISHED,RELATED -j ACCEPT

will probably work (this is the same sort of rule you would use for an ftp connection).

Rich
 
Old 09-24-2003, 05:48 PM   #5
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Original Poster
Rep: Reputation: 30
Thanks for your advice now. But everything seems to eb working now.
 
  


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
IPTABLES Logging my VOIP packets? metallica1973 Linux - Security 8 11-22-2005 05:18 PM
open source VOIP server /client ravikumarG Linux - Networking 2 03-08-2005 01:28 PM
IPTABLES - rules in /etc/sysconfig/iptables The_JinJ Linux - Newbie 6 11-20-2004 01:40 AM
IPTables rules dkny01 Linux - Networking 6 10-23-2003 12:52 AM
iptables rules Darin Linux - Security 1 01-23-2003 04:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:08 PM.

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