Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-12-2006, 07:55 AM   #1
Registered: Nov 2004
Distribution: Ubuntu
Posts: 68

Rep: Reputation: 15
Open Port - Linux Firewall - IPtables

Hi -
I would like to open port 3784 in my Linux Firewall which is used by a VoIP program ( Ventrilo ). The little I surmise so far is that I have to make a new entry in IPtables to allow this. My first guess is:
iptables -A INPUT -p tcp --source-port 3784 --destination-port 3784 -j ACCEPT

I can't seem to find what the -j parameter does but all the tcp examples I've found have it. Any help would be appreciated.
Old 05-12-2006, 08:03 AM   #2
Senior Member
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
man iptables
Originally Posted by Iptables manpage
-j, --jump target
This specifies the target of the rule; i.e., what to do if the
packet matches it. The target can be a user-defined chain
(other than the one this rule is in), one of the special builtin
targets which decide the fate of the packet immediately, or an
extension (see EXTENSIONS below). If this option is omitted in
a rule, then matching the rule will have no effect on the
packet’s fate, but the counters on the rule will be incremented.


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
Open/Closing port without iptables? hottdogg Slackware 8 12-27-2005 04:55 PM
Open LAN port through FIREWALL pbhat Fedora 2 08-12-2004 01:12 PM
how to open a port in the firewall redhat bosewicht Linux - Newbie 2 12-01-2003 10:15 PM
How to open port 25 in firewall greenranger Linux - Networking 13 03-19-2003 09:04 AM
firewall.rc.config says :"open port 8080" but nmap says port is closed saavik Linux - Security 2 02-14-2002 01:16 PM > Forums > Linux Forums > Linux - Networking

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

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