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

    2wan, daily quota per IP on cable , unlimited torrents and hungry users on adsl2

    Routing and Multi WAN
    4
    6
    2.4k
    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.
    • M
      Mirddes
      last edited by

      i have a 15mbit cable connection with a 60GB monthly quota and an unlimited (albeit aggressively shaped) adsl2+ connection that i can torrent on 24/7

      right now we are using roughly 3.5GB per day on the cable connection (simple math, budget exceeded)

      i would like to assign each computer on the network a daily quota(or monthly on a per ip basis)

      the torrents must flow unimpeded through the adsl2+ connection

      when a user exceeds their daily quota id like them to be switched to the adsl2+ connection, which i also need to shape (aforementioned shaping is done on the ISPs network)

      is pfsense right for this job? are there better alternatives?

      1 Reply Last reply Reply Quote 0
      • M
        Mirddes
        last edited by

        this is urgent. i cannot stop my torrents from downloading through my limited cable connection.

        WAN is unlimited adsl2
        WAN2 is 60GB per month cable connection

        torrents need to be goign through my unlimited connection

        right now i have if tcp/udp source NOT "fast ports alias" then Gateway WAN

        fast ports include 80 etc.

        this was working until a few weeks ago.

        right now im burning through my cap and it HURTS

        default gateway is WAN2

        1 Reply Last reply Reply Quote 0
        • chpalmerC
          chpalmer
          last edited by

          Id stop the torrents till its fixed then.

          Otherwise, can you go with a commercial grade account on your cable connect and get some more wiggle room?

          Triggering snowflakes one by one..
          Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

          1 Reply Last reply Reply Quote 0
          • M
            Mirddes
            last edited by

            price difference between 2 accoutns and 1 better account is several hunders of dollars per month, if not a thousand per month

            1 Reply Last reply Reply Quote 0
            • M
              Metu69salemi
              last edited by

              I wonder if you could use l7-filter to set queues and after that, creating rule to use that limiter with another gateway. but don't know if it works.

              1 Reply Last reply Reply Quote 0
              • D
                dhatz
                last edited by

                Is this for your own network, or some service you're providing to others? (if the former, the obvious solution would be to generate all your P2P traffic on a certain host or subnet)

                You seem to be asking about policy routing based on daily quota per IP. I don't know if that is possible with pfsense. Also the consensus seems to be that L7 identification of torrents is very hard.

                Since you are in such a hurry, perhaps a simpler approach would suffice e.g. put all "used" ports (dns, ssh, smtp, imap, pop3, etc) into an alias and route them via WAN2 (cable), but  change default gw to WAN (adsl) so everything else (which by default includes P2P traffic) will flow via the uncapped connection.

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