Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-06-2008, 06:38 AM   #1
Registered: Apr 2006
Location: Chiang Mai, Thailand
Distribution: Ubuntu 14.04 64 bit
Posts: 104

Rep: Reputation: 15
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 and is connected to the server on eth0 with an IP of

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 is used.

Eth0 is managed by shorewall which also manages eth1 which connects to the network. Eth1 uses the 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.

Last edited by expatCM; 08-06-2008 at 11:23 AM.


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
Port Forwarding For Router kool_kid Linux - Networking 4 09-25-2007 03:10 PM
port forwarding on Belkin 4-port Cable/DSL Gateway Router sycamorex Linux - Networking 5 03-05-2007 04:27 PM
Router port forwarding troubleshoot andresesfm Linux - Networking 1 09-22-2006 05:26 AM
Port forwarding on a wireless router. impulse() Linux - General 4 05-18-2006 06:20 PM
router port forwarding/ssh epoo Slackware 7 12-30-2003 04:02 PM

All times are GMT -5. The time now is 11:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration