Problem Using Bit Torrent

Discussion in 'OS X and OS X Apps' started by cyberprince, Sep 6, 2005.

  1. cyberprince

    cyberprince Active Member

    Joined:
    Oct 6, 2004
    Messages:
    227
    Likes Received:
    15
    Location:
    The Philippines
    I have been having problems getting BitTorrent to work using this ISP, Smart Wifi (aka Meridian).

    I've never had success, I can't seem to get the connection working and even worse is that after a few minutes into it the program shuts down completely. It seems to be working fine on other connections. Does anyone know what could be the problem and how to check if my ports are open and the like?
     
  2. lamski

    lamski PhilMUG Addict Member

    Joined:
    May 8, 2005
    Messages:
    1,662
    Likes Received:
    511
    Location:
    Makati, Philippines
    This is my theory: Smart WiFi acts like a big wireless router for everyone who subscribes to the service. But in order for Bit Torrent to work, port-forwarding must be enabled. For port-forwarding to work, you must have a static IP address in the router. But I guess Smart WiFi has all its clients connect through DHCP so you have no static IP address. This is just my guess...

    [Edited on 9.6.05 by lamski]
     
  3. jinno22

    jinno22 Guest

    try other bittorrent clients. I prefer Azureus over the original bittorrent client.
     
  4. teng

    teng Guest

    This answer to your problem:

    To open ports in the Mac OS X firewall, do the following:

    1. Open System Preferences.
    2. Click Sharing.
    3. Select the Firewall tab.
    4. Click the New... button.
    5. Click the popup menu in the dialog that appears, and choose Other....
    6. In the Port Number, Range, or Series field, enter 6881-6999.
    7. In the Name field, enter BitTorrent (or any other identifying string.)
    8. Click OK.


    If you are using a linux box as your firewall machine, and are using iptables as your NAT/firewall, here's how you can enable portforwarding to a specific machine for BitTorrent. Either append to your iptable configuration script or put this in a file of its own. This was written in bash, but should work for ash, zsh or plain old bourne shell too (not csh however).
    ---- start shellscript ----

    #!/bin/bash
    #bittracker portforwarding
    BTFORWARDADDR=192.168.1.3
    BTPORTS="6890 6891 6892 6893 6894 6895 6896 6897 6898 6899"
    for pt in $BTPORTS; do
    /sbin/iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport $pt -j DNAT --to-destination $BTFORWARDADDR:$pt
    /sbin/iptables -A FORWARD -s $BTFORWARDADDR -p tcp --dport $pt -j ACCEPT
    done


    ---- end shellscript ----
    What this does is for each port in the BTPORTS string, establish a prerouting forward to send it directly to the machine listed in BTFORWARDADDR instead of mangling it through NAT. Also, in the event you have a default setting of DENY or REJECT for your forwarding rules, it allows forwarding from the BTFORWARDADDR machine on each of the BTPORTS out to the net.


    In addition to the syntax illustrated here, iptables supports the specification of a range of ports using the syntax --dport $START:$END so the whole 6881-6999 range used in BT 3.2+ can be NAT'ed. For example...

    === start script ===

    #!/bin/bash BTFORWARDADDR=192.168.2.20 PORTSTART=6881 PORTEND=6999

    /sbin/iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport $PORTSTART:$PORTEND -j DNAT --to-destination $BTFORWARDADDR
    /sbin/iptables -A FORWARD -s $BTFORWARDADDR -p tcp --dport $PORTSTART:$PORTEND -j ACCEPT

    === end script ===
    This assumes that the host to which these ports will be forwarded, BTFORWARDADDR, will be using the same range i.e. no port redirection is required.

    [Edited on 9.6.05 by teng]
     
  5. teng

    teng Guest

    i use azureus too.. great app btw..
     
  6. kulas

    kulas Member

    Joined:
    Aug 12, 2005
    Messages:
    27
    Likes Received:
    0
    me i use tomato torrent no problems here...
     
  7. jed

    jed Member

    Joined:
    Mar 6, 2005
    Messages:
    10
    Likes Received:
    0
    Location:
    Makati
    hmm... weird. I tried this a few months ago but I still got NAT errors using Azureus. I'm now using Tomato. Not as fancy as Azureus, but it gets the job done. :)
     
  8. Adel

    Adel Moderator
    Staff Member

    Joined:
    Apr 8, 2004
    Messages:
    1,913
    Likes Received:
    169
    Gender:
    Male
    Location:
    QC
    Tomato Torrent is a good choice, since it is a Mac-specific client, and is designed from the ground up for the Macintosh.

    According to some people, Bits On Wheels is even better, and aside from being reliable and efficient, has more eye candy than your run-of-the-mill BT client:

    [​IMG]

    It's kinda mesmerizing to watch all those download/upload packets come and go. Lots of Mac folks swear by BOW. It claims to be " ...the first 100% Native BitTorrent client for the Macintosh. It is completely written in Objective-C and Cocoa."

    But different strokes for different folks, right?
     
  9. Adel

    Adel Moderator
    Staff Member

    Joined:
    Apr 8, 2004
    Messages:
    1,913
    Likes Received:
    169
    Gender:
    Male
    Location:
    QC
    Hi, Reg. We're treading on very thin piracy ice here. Let's just keep the discussion confined to BT clients, shall we? ;)
     
  10. cyberprince

    cyberprince Active Member

    Joined:
    Oct 6, 2004
    Messages:
    227
    Likes Received:
    15
    Location:
    The Philippines
    Thanks for the suggestions. I'm downloading tomato torrent right now to see if it will solve the problem.
     
  11. reg52777

    reg52777 New Member

    Joined:
    Aug 20, 2005
    Messages:
    1
    Likes Received:
    0
    quote]Originally posted by Adel
    Hi, Reg. We're treading on very thin piracy ice here. Let's just keep the discussion confined to BT clients, shall we? [/quote]

    Sorry about that :) will delete my message right away :cool:
     
  12. wildcard

    wildcard Active Member

    Joined:
    Dec 29, 2004
    Messages:
    859
    Likes Received:
    5
    Location:
    Paranaque/Muntinlupa/Liliw, Laguna
    This is just a guess. but maybe the ISP is blocking the Port number your using. Some ISPs are known to do that because torrents are wildly known to spread piracy. Try other 4 digits Port numbers.
     
  13. peter_ob

    peter_ob Active Member

    Joined:
    Apr 8, 2004
    Messages:
    519
    Likes Received:
    0
    Location:
    Lower Antipolo
    While downloading/trying out your BT clients read this..
     

Share This Page

  • About PhilMUG

    Since the mid-1990s, PhilMUG (formerly the Philippine Macintosh Users Group) has grown to become not just the Philippines’ but one of the world’s foremost Apple user groups. Our online community brings together thousands of members from the Philippines and around the world for the latest news and discussions covering all Apple products and related hardware and software. Anyone can join PhilMUG, from newbies to experts, subject to our membership rules and guidelines.
  • Like us on Facebook

  • Buy us a beer!

    The staff works very hard to make sure that PhilMUG is running 24/7. Care to buy us a beer or help out with our hosting fees? We'd really appreciate it!

    Donate to us!