![]() Registered Member ![]()
|
I'm running a tracker on my local network and want to use ktorrent to seed files for download over the internet. I have a router connected to a cable modem with a static IP and I use maketorrent to create the .torrents. I have TCP ports 6881-6999 on the router forwarded to the machine running the tracker, and the tracker is visible over the internet.
Here are the steps I've taken. Create .torrent:
Open ktorrent and set 'Custom IP' to <static ip>. Open .torrent and choose to download to the parent directory of <dir>. My understanding is that ktorrent should recognize that <dir> already exists and begin seeding. Tracker status is listed as 'OK', but download status is 'Stalled'. The ktorrent log looks like this:
Can anyone explain where I'm going wrong? I'm using KTorrent 1.2 and KDE 3.5.2 on Gentoo. |
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
OK, after going through the import process the download status is "Seeding" and the tracker shows 1 client with the complete file. Good. However, clients cannot download the seeded files and the ktorrent log still shows the following (the connecting to peers message has changed)
Also, the infowidget Status tab shows that the entire file has been download and that no parts of the file are available. Any ideas? |
![]() Moderator ![]()
|
First of all the ports the KT client is using also need to be forwarded. Obviously they need to be different then the ones the tracker is using.
Second : Open ktorrent and set 'Custom IP' to <static ip>. This is only for HTTP announces when you are behind a HTTP proxy. Otherwise peers would be trying to connect to your HTTP proxy instead of your machine. So in this case you need to give your actual IP address to the tracker (normally it just gets that from the HTTP connection) If the torrent has the correct tracker IP address (that of your router, the WAN IP address), then it should work. |
![]() Registered Member ![]()
|
I have TCP ports 6881-6999 forwarded to the PC running the tracker and KT, and I have KT 'Custom IP' set to <static ip>. The torrent was created using <static ip> as the tracker address.
To add another wrinkle to the problem, I've noticed the following. If I start the tracker and run bittorrent-curses --ip <static ip> <torrent>, bittorrent-curses shows a status of 'downloading,' but since there's no seed at this point, no data is transferred. If I then run KT and use the import plugin to seed <torrent>, bittorrent-curses begins downloading but it seems to lose it's connection after just a few seconds. The KT log shows
I'm not sure why three peers are shown. In any case, bittorrent-curses begins downloading after "Authentication to <static ip> : ok" but stops after "Connection Closed." Any idea why this happening? Just to be completely clear, <static ip> is my internet-visible ip address, and <router ip> is the address of my router on the local network, 192.168.15.1. |
Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]