Debian – Transmission-Daemon does not upload, but can download

bittorrentdebianfirewallraspbiantransmission

I have just installed transmission-daemon on a Raspberry Pi running Raspbian (Jessie).

When adding a torrent to the web interface, downloading works at high speeds, but it doesn't upload anything at all. For the torrent file I'm using, there should be plenty of leechers to connect to. BitTorrent works fine on my Mac computers in the same network.

First I thought it might be my firewall (ufw) causing issues since I have it set to ufw default reject incoming. This is likely to be the next issue – but even after ufw disable I still have the same problem with no uploading.

Questions:

  • What could be hindering upload when ufw is turned off?
  • Next, how can I use Transmission with ufw turned on while blocking as many incoming ports as sanely possible?

Best Answer

This sounds like a port forwarding issue.

To solve this, you'll have to enter you router's web interface. It can be reached on your router's address, which can be obtained using the ip route show command:

default via 192.168.1.1 dev eth0

In that example, the router's IP address would be 192.168.1.1.

The procedure may vary depending on the manufacturer, so the best you can do is to search in Google how to do it for your specific model.

Anyways, there should be some setting called "Port forwarding" or "NAT". Use the following info for the rule you've to set up:

<your RPi local IP address>
External port: 51413
Internal port: 51413
Protocol: TCP

Therefore, the only port you should need to open in ufw is 51413.

Related Question