[SOLVED] Transmission Not Using the Correct Ports?

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
Gyroscope352
Posts: 2
Joined: Wed Apr 11, 2012 5:14 am

[SOLVED] Transmission Not Using the Correct Ports?

Post by Gyroscope352 »

Forgive me if this is a really stupid question, but I'm a bit of a newbie at advanced firewalling so I may be missing something obvious.

I'm running Transmission on my FreeNAS 0.7.2 machine, and I've set up a firewall to block incoming traffic. I've allowed port 51413 on the firewall (Transmission's default listening port) so that Transmission can continue to operate. However, it doesn't seem to work. When I look at my log, I see entries like this:

Code: Select all

Apr 10 22:14:56 	heimdall 	kernel: ipfw: 1600 Deny TCP 192.168.0.10:62178 188.221.79.206:51413 out via re0
Apr 10 22:14:56 	heimdall 	kernel: ipfw: 1600 Deny TCP 192.168.0.10:62179 93.120.251.214:57757 out via re0
Apr 10 22:14:56 	heimdall 	kernel: ipfw: 1600 Deny TCP 192.168.0.10:62180 99.66.164.41:51413 out via re0
Apr 10 22:14:56 	heimdall 	kernel: ipfw: 1600 Deny TCP 192.168.0.10:62181 109.230.226.141:51413 out via re0
Apr 10 22:14:56 	heimdall 	kernel: ipfw: 1600 Deny TCP 192.168.0.10:62182 88.215.83.64:6971 out via re0
Along with a crapton of "Apr 10 22:14:57 heimdall transmission-daemon[17666]: Couldn't connect socket 12 to 188.221.79.206, port 57757 (errno 13 - Permission denied) (net.c:341)". And, of course, nothing downloads or uploads.

Why is Transmission using ports like 62178, 62179, 62180, and so on for outbound and inbound traffic? Shouldn't it be using port 51413, the port I've specified in its preferences? How am I supposed to use Transmission with a firewall if it just uses a ton of random ports instead of the one it's supposed to use? Perhaps I'm missing a setting or something somewhere, but if someone could shed some light on what's going on/what I'm doing wrong, I'd greatly appreciate it.
Last edited by Gyroscope352 on Fri Apr 13, 2012 6:48 am, edited 1 time in total.
gunzip
Posts: 272
Joined: Wed May 05, 2010 2:12 am

Re: Transmission Not Using the Correct Ports?

Post by gunzip »

your firewall looks misconfigured as all outgoing traffic is being blocked. if you temporarily disable the fw, does it start connecting to peers?

the exchange of torrent data with other peers is not limited to the peer listen port, if that is what you are assuming.
Gyroscope352
Posts: 2
Joined: Wed Apr 11, 2012 5:14 am

Re: Transmission Not Using the Correct Ports?

Post by Gyroscope352 »

That is what I am assuming. I'm surprised I've been using BitTorrent this long and never known that. I thought the peer listen port was the only port Transmission used. I'll adjust my firewall accordingly. Thank you!
Post Reply