Results 1 to 7 of 7

Thread: torrent & ports

  1. #1

    torrent & ports

    Could someone please help...
    I installed torrent, but there's no transfer.
    current_error.log says:

    Failed to transfer URL: could not connect (7)
    Failed to transfer URL for reason 7 (see curl.h)

    I opened incoming ports and defined a virtual server, but no luck...

  2. #2
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    look into /opt/etc/torrent.conf for TCP port range to open.

  3. #3
    this is the relevant part of torrent.conf:

    # btget port range environment
    BTLIB_MINPORT=56881
    export BTLIB_MINPORT
    BTLIB_MAXPORT=56889
    export BTLIB_MAXPORT
    #time between logs
    LOG_TIME=59

    this is my post-firewall:
    #!/bin/sh
    iptables -A INPUT -p tcp --syn --dport 22 -j ACCEPT
    iptables -A INPUT -p tcp --syn --dport 56881:56889 -j ACCEPT

    and virtual server setting is:
    port range 56881:56889
    local ip <LAN ip of the router>
    protocol TCP
    other fields are empty.

    what could be wrong?

  4. #4
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    You do not need post-firewall script to forward ports.

    I suggest that you try to enable stupid-ftpd server and try accessing ftp server from inernet. If this work, continue with torrent ports.

  5. #5
    I tryed it with port 22, ssh. It works fine.
    And port 56881 is scanned as open from outside.
    But I get those error messages again and again.

  6. #6
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    Try netstat -ln to see
    Code:
    tcp        0      0 0.0.0.0:56881           0.0.0.0:*               LISTEN
    tcp        0      0 0.0.0.0:56882           0.0.0.0:*               LISTEN
    tcp        0      0 0.0.0.0:56883           0.0.0.0:*               LISTEN
    tcp        0      0 0.0.0.0:56884           0.0.0.0:*               LISTEN
    tcp        0      0 0.0.0.0:56885           0.0.0.0:*               LISTEN
    tcp        0      0 0.0.0.0:56886           0.0.0.0:*               LISTEN
    tcp        0      0 0.0.0.0:56887           0.0.0.0:*               LISTEN
    when 7 torrent commands are issued.

    Or enter ". /opt/etc/torrent.conf" (dot, space, /opt/etc/torrent.conf) and then issue btget something.torrent to see whats up.

  7. #7
    It works now.
    I removed --syn parameter from iptables and added entry for open ports towards LAN interface.
    Thanks.

Similar Threads

  1. Torrent Client op WL500G
    By pietjebell in forum Dutch Discussion - Nederlands
    Replies: 3
    Last Post: 24-05-2006, 14:56
  2. Spiele Ports freigeben in dem Fall FIFA 06
    By heNNeBorG in forum German Discussion - Deutsch (DE)
    Replies: 2
    Last Post: 24-03-2006, 22:45
  3. Replies: 0
    Last Post: 03-02-2006, 18:56
  4. Opening ports for VoIP
    By filipe in forum WL-500g Q&A
    Replies: 1
    Last Post: 28-12-2005, 21:22

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •