Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Custom Bittorrent Queue

    Scheduled Pinned Locked Moved Traffic Shaping
    4 Posts 3 Posters 3.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      valunthar
      last edited by

      I would like to set up a custom Bittorrent queue for a server of mine. While the default queue may be fine for everyone else who uses the network. I'd like to reserve more of my bandwidth for that specific server. I attempted to do it using the default queues and rules as a template. But the traffic does not seem to want to go into the queue. I did make sure that the custom Bittorrent queues and Rules were before the regular queues and rules. I suspect that it may be the way that I set up the ports in the rules, but I'm not entirely sure. Any suggestions?

      1 Reply Last reply Reply Quote 0
      • P
        Pootle
        last edited by

        bittorrent is difficult to handle as it spreads its port usage far and wide, uTorrent allows your incoming request port to be tied to a specific port, but I still could not find a sensible way of handling it (at least with uTorrent).  There is some info about it in the multiWan wiki here http://doc.pfsense.org/index.php/Multi-Wan/Load-Balancing#Supporting_bittorrents, this should help you understand what needs to be setup for traffic shaping

        1 Reply Last reply Reply Quote 0
        • J
          Justinw
          last edited by

          One helpful tool for me has been a program called TCPView
          http://www.microsoft.com/technet/sysinternals/Networking/TcpView.mspx
          You can see your local and remote ports when you use bit torrent.  Once you see what a pattern in which ports it is using, then you can classify it with the traffic shaper.  You're looking for a state of "ESTABLISHED".  I would take the approach of referring to the ports in my bit torrent queue as an alias also.  Then instead of updating the ports you are working with in the actual rules, just update the alias.

          1 Reply Last reply Reply Quote 0
          • P
            Pootle
            last edited by

            But the problem I see is that (with uTorrent at least) the source port number it uses to outward connect just keeps incrementing.  See the notes I have written up here http://doc.pfsense.org/index.php/Multi-Wan/Load-Balancing#Supporting_bittorrents
            If you know a better way of doing this, I'm keen to hear it…  ;D

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.