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
 
LinkBack Search this Thread
Old 04-14-2004, 01:04 PM   #1
Arkas
Member
 
Registered: Jun 2003
Location: Nicosia, Cyprus
Distribution: Ubuntu
Posts: 30

Rep: Reputation: 15
Bittorrent Ports


I am trying to install azureus, a java bittorrent client and during setup it asks to enter a TCP incoming listening port. The default option in the setup menu is 6881 but when i try to test the port i get "Testing port 6881...NAT Error"
Well i am new in Linux and haven't got a clue what i'm supposed to do! I think i need to open the port 6881 if it is behind a firewall but i don't know how. I am using Fedora Core 1 with the standard security and firewall setup.
Any help would be much appreciated.
 
Old 04-15-2004, 12:49 PM   #2
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Is this a directly connected computer or is it behind a router?
 
Old 04-16-2004, 01:12 PM   #3
Arkas
Member
 
Registered: Jun 2003
Location: Nicosia, Cyprus
Distribution: Ubuntu
Posts: 30

Original Poster
Rep: Reputation: 15
Well i am using alcatel's speedtouch adsl modem (green). Don't know much about routers and stuff.
 
Old 04-16-2004, 04:48 PM   #4
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
You can try to clear all firewall rules iptables -F
If this woirks then you will have to figure out which port to open.
 
Old 05-14-2004, 03:11 AM   #5
cleff
Member
 
Registered: Mar 2003
Posts: 37

Rep: Reputation: 15
Quote:
Originally posted by ugge
You can try to clear all firewall rules iptables -F
If this woirks then you will have to figure out which port to open.
So how do you open the port?
 
Old 05-14-2004, 04:14 PM   #6
jspaar
Member
 
Registered: Feb 2004
Location: California
Posts: 99

Rep: Reputation: 15
I use a script like this:
Code:
sudo /sbin/iptables -A INPUT -p tcp -m tcp --destination-port 6881:6889 -j ACCEPT
It opens the range of tcp ports from 6881-6889, but you could leave out the :6889 part if you only want to open 6881.

Not to be confusing, but on Red Hat you might want to change INPUT above to RH-Firewall-1-INPUT if you have that chain (run
Code:
sudo /sbin/iptables --list
to see if you do).

Someone put this useful tutorial in the LinuxQuestions wiki: basic firewall configuration
 
Old 05-14-2004, 04:24 PM   #7
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
If your computers ip address is 192.168.x.x, 10.x.x.x or 172.16-32.x.x
then you are behind a connection sharing system.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Open Mail Server Ports 25, 110, and 220. Other Ports will open. Binxter Linux - Newbie 9 11-29-2007 02:03 AM
bittorrent commands, ports and ubuntu kkatebian Linux - Software 5 06-09-2005 02:43 PM
bittorrent help! phiqtion Linux - Newbie 5 06-08-2004 02:56 AM
Opening BitTorrent Ports On A Belkin Router sethgeekx86 Linux - Software 0 03-21-2004 04:39 PM
is there anyone using bittorrent bittorrent-shadowsclient-5.8.3 moonloader Linux - Software 0 01-12-2004 05:35 AM


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

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration