LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Port Forwarding from Router to Client (http://www.linuxquestions.org/questions/linux-networking-3/port-forwarding-from-router-to-client-660830/)

expatCM 08-06-2008 06:38 AM

Port Forwarding from Router to Client
 
Ubuntu 7.10 server, 8.04 client.

I seem to have a problem opening ports. I know this since when I test the opened ports with Deluge it tells me that the ports are closed.

The router is a Linksys AG241 v2 with firmware 2.01.03. This has an IP of 192.168.1.1 and is connected to the server on eth0 with an IP of 192.168.1.64.

So the settings on the router are to port forward a range 40000-40010 and use the same range in Deluge, the bit torrent program. Both TCP and UDP are forwarded and the IP address of 192.168.1.64 is used.

Eth0 is managed by shorewall which also manages eth1 which connects to the network. Eth1 uses the 10.0.0.1 IP.

The settings in shorewall are two entries

Action – Source – Destination – Protocol – Source Ports – Destination Ports
Accept - Zone net - Firewall – TCP - Any - 40000 - 40010
Accept – Zone net – Firewall – UDP – Any – 40000 - 40010

In Deluge I have set the ports to use as 40000 – 40010. The performance is very poor and when the ports are tested 40000 is reported to be closed. I downloaded uTorrent and installed that under Wine and that has the same problems.

It is only with bit torrent that there is a problem. All other applications work and work well. Download speeds are very good (for here).

So obviously I have got something wrong. Could someone tell me what that is please.


All times are GMT -5. The time now is 12:54 PM.