PDA

View Full Version : Problem opening ports


T to the omas
2007-01-20, 04:37 PM CST
hello i'm kinda new to fedora. i am trying to use azureus or bittorrent to download programs and other things. I am using the ppc version of fedora core 5. i have followed the stanton finley guide to install all of my programs with the exception of sun java and other non relative programs that are incompatible with the ppc version of fedora core 5.
i enter in the command line: /sbin/iptables -I INPUT -p tcp --destination-port 6881:6999 -j ACCEPT
and i get this message: iptables v1.3.5: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
i have already used yum update is there anything i should do that would help me open the ports.

Dies
2007-01-20, 05:37 PM CST
Are you using the regular FC firewall or some other firewall?

T to the omas
2007-01-21, 12:50 AM CST
just the normal firewall that came with the dvd and i have it disabled as of now because i thought that might work.

Dies
2007-01-21, 12:59 AM CST
That's not a good idea, you should turn it back on.

I use FC6 but I don't think this has changed that much, you'll tell me if there is a difference.
First pick a good port for Azureus.
Open a terminal and type:

su -
gedit /etc/services

something like this should open up in gedit, it goes on forever

# /etc/services:
# $Id: services,v 1.42 2006/02/23 13:09:23 pknirsch Exp $
#
# Network services, Internet style
#
# Note that it is presently the policy of IANA to assign a single well-known
# port number for both TCP and UDP; hence, most entries here have two entries
# even if the protocol doesn't support UDP operations.
# Updated from RFC 1700, ``Assigned Numbers'' (October 1994). Not all ports
# are included, only the more common ones.
#
# The latest IANA port assignments can be gotten from
# http://www.iana.org/assignments/port-numbers
# The Well Known Ports are those from 0 through 1023.
# The Registered Ports are those from 1024 through 49151
# The Dynamic and/or Private Ports are those from 49152 through 65535
#
# Each line describes one service, and is of the form:
#
# service-name port/protocol [aliases ...] [# comment]

azureus 52525/tcp # Azureus
azureus 52525/udp # Rules
tcpmux 1/tcp # TCP port service multiplexer
tcpmux 1/udp # TCP port service multiplexer
rje 5/tcp # Remote Job Entry


Add lines like those for Azureus with whatever port you chose then save it and go to System>Administration>Security Level and Firewall you should see at the bottom Other Ports, expand that hit add then type azureus and select tcp then do the same for udp and you should be all set.

You may need to forward the same port if you use a router, but you can find all that info on the Azureus Wiki if you need to.

T to the omas
2007-01-21, 01:50 PM CST
ok i did what you said and then tried to use that command file again but nothing is happening. i also adjusted my static ip every way possible because i am still getting a nat error when i test the connection on azureus. i don't know if that is the cause of my earlier problem or if my problem is causing the nat error.

Dies
2007-01-21, 02:12 PM CST
What command file? There is nothing else you should need to do to allow Azureus access from FC.
You may need to forward the port through your router if you're using one, if so just go to the Azureus Wiki and search for nat error.

T to the omas
2007-01-21, 09:53 PM CST
sorry about that. i entered this in the command line again: /sbin/iptables -I INPUT -p tcp --destination-port 6881:6999 -j ACCEPT i got the same error that i mentioned before. i am still getting a NAT error although i have followed the wiki guide for router passthrough and still get the NAT error i thought the NAT error was also related to not having the ports opened

VividHazE
2007-03-24, 10:35 PM CDT
I followed all these instructions to the letter and its still giving me a NAT Error. I've tried 3 or 4 different approaches to this. This sucks -_-.