LinuxQuestions.org
Review your favorite Linux distribution.
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 05-12-2006, 06:55 AM   #1
SBFree
Member
 
Registered: Nov 2004
Distribution: Ubuntu
Posts: 70

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.
Thanks
Scott
 
Old 05-12-2006, 07:03 AM   #2
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Code:
man iptables
Quote:
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.
 
  


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

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

All times are GMT -5. The time now is 07:21 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