[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: btdownloadgui failed due to firewall



On Sun, Jul 18, 2010 at 11:05:03PM +0530, naths wrote:

> I failed to download by "btdownloadgui --responsefile ***.torrent".
> Rarely it works and do necessary download very slowly.
> Most time it waits [ not exit with error].
> I have simple firewall rule [ as per Rusty Russel ].
> I found psad-alart says "P2P BitTorrent communication attempt" as
> classtype: policy-violation with "iptables chain: INPUT (prefix
> "Dropping:"), 1 packets" .
> It is good to get the download as *.iso file whereas in windows
> I download as *.daa with no problem.
> 
> What is solution

The bittorrent protocol relies on being able to make incoming connections
to the host running the client (there is no server/client distinction
really - hence peer to peer).

The default port used by bittorrent is 6881. You should allow incoming
connections from all sources to this port. I'm not familiar with the
Rusty Russell firewall rules, but you should look for an example of
allowing incoming connections, probably along the lines of
"iptables -A INPUT -s .... -d ... -j ACCEPT".

You can probably change the port, and you may which to use a range
(for example 6881..6890) to allow multiple torrents running
simultaneously.

Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)


Reply to: