LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Azureus Port Forwarding Problem (https://www.linuxquestions.org/questions/fedora-35/azureus-port-forwarding-problem-648888/)

KrazyStuntRR 06-12-2008 02:32 PM

Azureus Port Forwarding Problem
 
i've just installed Azureus and no torrents seem to work
I went into Tools > Options and tested ports and any number
I input into the box says are closed, I read I need to port
forward since i'm using a D-Link DIR-625 router I followed
steps to port forward but still nothing when I enter my IP
into the router settings i get the following error
IP address for 'Azur1' should be within LAN subnet (192.168.0.0)

KrazyStuntRR 06-12-2008 02:53 PM

K that problem has been solved found the page with the router map of the IP I was to enter so that setting should be all dandy but however Azureus still fails when I speed test or test NAT / Firewall Port i used in the port forwarding settings.

sycamorex 06-12-2008 04:50 PM

I might be wrong now, but forwarding a port on your router might not be enough. What about your system firewall?

KrazyStuntRR 06-13-2008 12:46 AM

thats what i'm thinking and i'm a total newb to Linux so this whole
SELinux firewall thing is like another language to me lol do you or
anyone reading know how to set the firewall up so that either transmission
or Azureus work.

sycamorex 06-13-2008 05:21 AM

you can try to change the status of selinux to permissive:

Open the file /etc/selinux/config and change the value:
SELINUX=enforcing to SELINUX=permissive
AFAIK, you need to reboot the system for the change to take effect. It will warn you about the things that it would normally block but it'll not block anything. You can change it back if it doesn't help.

When it comes to Iptables (the firewall), as root try to issue
the following command:
iptables -A INPUT -p tcp --dport xxx -j ACCEPT
iptables -A INPUT -p udp --dport xxx -j ACCEPT

(if that doesn't work, try /sbin/iptables -A...........etc)

where xxx is the port number.
and then to save the state of iptables
/sbin/service iptables save

to check the iptables status:

iptables -L

There is a tutorial on iptables (basic configuration is not really difficult)
http://forums.pcper.com/showthread.php?t=432469

hth

KrazyStuntRR 06-13-2008 01:59 PM

got it working it started working once i turned off the firewall
but speeds are extremely slow i dont reach speeds over 40kb/s when downloading

so i started the firewall again and wanted to try your suggestions
once i get the firewall started whenever I try your commands i get
the following
bash: iptables: command not found

to even get the firewall running I had to type
/sbin/service iptables start

so thought I would try your command with the /sbin/service infront of it
and I get the following message from this command
/sbin/service iptables -A INPUT -p tcp --dport xxx -j ACCEPT
Usage: iptables {start|stop|restart|condrestart|status|panic|save}

KrazyStuntRR 06-13-2008 06:39 PM

ok the iptables problem was solved didn't
realize there was a difference between the
su and su - login

so I typed in what you had told me too and
still Azureus fails the NAT/FIREWALL tests.

sycamorex 06-13-2008 06:49 PM

what does your:
/sbin/iptables -L
show?

KrazyStuntRR 06-13-2008 07:53 PM

iptables -L

Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
ACCEPT tcp -- anywhere anywhere tcp dpt:51515
ACCEPT udp -- anywhere anywhere udp dpt:51515

Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

KrazyStuntRR 06-14-2008 12:22 AM

kk all fixed :D gettin remotely decent speeds of 200-250kb/s but that could just be the torrent itself and the peers/seeders


All times are GMT -5. The time now is 02:23 AM.