This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Bittorrent Client works, but...

My bittorrent client does work very well, but to achieve that I have to set the following packet filter rule:

Source: MyIP -> Service:Any -> Destination:Any 
allways allowed

I had to define this rule cos the ASG had blocked all packets sending from myIP with random outgoing ports. And these connection seems to be needed for using the bittorrent network.[:S]


This thread was automatically locked due to age.
Parents
  • Depending on the client, the SOURCE port may be predictable.

    Barry
  • Predictable source port? how?

    I think the outgoing port could be the port the other torrentusers have on thei clients. So I have to select almost every port above 1024?
  • Definitions:
    ------------
    under network create torrent pc client(basically the pc that uses the torrent client)

    Packet Filter
    --------
    source :Any
    service :utorrent port
    Destination: torrent client pc

    packet filter
    --------------
    source: torrent client pc
    service: tracker ports (ports needed for trackers)
    Destination: tracker ips

    source: torrent client pc
    service:UDP port outgoing for torrent client
    Destination: Any

    source: torrent client pc
    service:TCP port outgoing for torrent client
    Destination: Any




    Nat
    ------
    traffic source: Any
    Traffic service :utorrent port
    traffic destination: external wan ip
    Nat mode: DNAT
    destination: utorrent client pc
    destination service: nothing
    automatic pf rule unchecked

    Now if you configure the same but change the ports to the correct ones(i think bittorrent uses range of ports whereas utorrent uses one) and configure the client everything should work


    If you keep the same procedure but replace the torrent port with the azureus  one you will be fine

    Things to replace:

    1)TCP port outgoing for torrent client
    2)UDP port outgoing for torrent client
    3)utorrent port


    Let me know how it goes!
  • Hi.
    Have to look at it tomorrow. I'll let you know when I have tried...

    thnxs
  • Hi.
    Now I can download and upload through bittorrent, but I met another problem. While I'm using my torrent client and downloading/uploading the server is VERY slow, almost not responding. I have an Intel P4 2.8Ghz, 1.5GB Ram, 40GB IDE disk, 2 x Gbit networks cards. Is it too small or could it be some configuration that makes it slow when handling torrrent traffic?
  • i know for fact that for utorrent clients you can set the number of ports open as well as minimum maximum port.
    Is it generally slow or just only when torrent is enabled?
  • What's the bandwidth of your connection, and of your torrent activity?

    By 'server' do you mean the firewall, and do you mean web admin?

    Barry
  • Hi.
    By server I meant firewall...

    Webadmin and other pages doesn't show when torrent trafic is active. The "old" 3com router never had problems with browsing and downloading at the same time. The torrent won't get maximum speed with the new firewall. Webadmin reports non respond error with question to wait or cancel some command...

    The status says 25% of RAM used and between 5 and 10% CPU load when I download, but the webadmin interface is VERY slow when downloading torrents not matter what download/upload speed the torrent have.
  • What's the bandwidth of your connection, and of your torrent activity?

    Thanks,
    Barry
  • What's the bandwidth of your connection, and of your torrent activity?

    Thanks,
    Barry


    8mbit download and 0.7 mbit upload. The torrent program is limited to 25KB/s upload and with the new firewall I haven't gotten more than 700KB/s compared with the "old" router I had over 900KB/s.  I tried to limit downloadspeed to 100KB/s but still VERY slow alomost none respons when trying to browse webpages or use webadmin.
  • 8mbit download and 0.7 mbit upload. The torrent program is limited to 25KB/s upload and with the new firewall I haven't gotten more than 700KB/s compared with the "old" router I had over 900KB/s.  I tried to limit downloadspeed to 100KB/s but still VERY slow alomost none respons when trying to browse webpages or use webadmin.


    Hello. I got the same problem  with version 7.402 ..  Running it  in Hyper-V  environment but  that should not be the cause. with lot of connections  from bittorrent (above 50 .. which is really silly amount. should be able to handle houndreds)  the firewall gets somehow blocked. Not the machine itself, only all network traffic going though it.
    When i log it  as console and log as root the responsiveness  is fine, cpu usage is low and mem usage low as well. No idea  whats the hang-up there.

    Oh i am using HOME licence btw. if that might be the case please let me know . still in a phase of "testing" this fw if it will be viable  option for my needs. Before i hit this bug  it was almost 100% reliable..
  • Hi, you can see how many connections are open in the firewall...
    wc -l /proc/net/ip_conntrack

    The home user license is limited to around 1000 connections.

    If it's too high, adjust the connection settings in your torrent client(s).

    There's a beta going on right now, active testers will get upgraded home licenses.

    Barry
Reply
  • Hi, you can see how many connections are open in the firewall...
    wc -l /proc/net/ip_conntrack

    The home user license is limited to around 1000 connections.

    If it's too high, adjust the connection settings in your torrent client(s).

    There's a beta going on right now, active testers will get upgraded home licenses.

    Barry
Children
No Data