LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-02-2004, 10:53 PM   #1
demmylls
Member
 
Registered: Aug 2003
Location: AT
Distribution: Fedora Core 3
Posts: 404

Rep: Reputation: 30
open azereus port 6881


i'm using fedora core 3

how to open tcp port 6881 for azerues at my FC3 so that i can allows ppl to download..

i have redirected this port to my pc at my router.


how to do that to open this port?
 
Old 12-03-2004, 12:06 AM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
As root:

iptables -I INPUT -p tcp --dport 6881 -j ACCEPT
 
Old 12-16-2004, 08:16 PM   #3
robebe
LQ Newbie
 
Registered: Dec 2004
Location: Houston, TX
Distribution: RH FC3
Posts: 13

Rep: Reputation: 0
Quote:
As root:

iptables -I INPUT -p tcp --dport 6881 -j ACCEPT
Best Regards and Happy Holidays

How do you make this change permanent..???

Even tought I did this as a root I still get an error related to NAT while testing the port in the Azureus Config. Wizard. How do you chek if the port is really open..???

Thank you very much.
 
Old 12-16-2004, 11:01 PM   #4
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
To make iptables changes persistant on a Redhat system do: service iptables save

To check if the port is indeed open, do a port scan from outside the LAN or just use one of the free online portscans from sygate or grc.com. Also make sure that the torrent app is up with netstat -pantu

The above iptables rule applies only to a non-NAT stand-alone system. If you are behind a nat firewall, you need to forward the azureus ports to the internal box (IP x.x.x.x), like this:
Code:
iptables -t nat -A PREROUTING -i <external_interface> -p tcp --dport 6881 -j DNAT --to-destination x.x.x.x
iptables -I FORWARD -i <external_interface> -o <internal_interface> -p tcp --dport 6881 -j ACCEPT

May also need:
iptables -I FORWARD -i <internal_interface> -o <external_interface> -j ACCEPT

Last edited by Capt_Caveman; 12-16-2004 at 11:02 PM.
 
  


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
Testing port 6881....NAT Error - error in Azureus dr_zayus69 Linux - Security 20 05-26-2006 01:52 PM
Azureus NAT error on port 6881 dealerman Fedora 3 08-21-2005 09:42 AM
Azureus problems, specifically port 6881 cegha Mandriva 5 07-20-2005 03:19 AM
Azereus problems canyon289 Linux - Software 5 06-12-2005 05:01 PM
6881 Port Opening? Bana Linux - Networking 1 02-16-2004 07:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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