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

How to shape IP to a slower speed after the IP has used 20G?

Scheduled Pinned Locked Moved Traffic Shaping
6 Posts 4 Posters 1.2k 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.
  • J
    j-servers
    last edited by Sep 11, 2015, 6:59 AM

    Hi There,

    Just wondering if it is possible to setup a policy that will allow a user full speed till they reach 20G and after that shaped down to a 64kbps connection speed till the end of the month and resets back the next month? would be good if it was based of IP address but happy to look into PPPoE or radius or captive portal user accounts.

    Cheers,

    Josh

    1 Reply Last reply Reply Quote 0
    • H
      Harvy66
      last edited by Sep 11, 2015, 11:45 PM

      Are you trying to reduce congestion or reduce data usage?

      1 Reply Last reply Reply Quote 0
      • J
        j-servers
        last edited by Sep 17, 2015, 9:28 AM

        Just basically just slow there connection down until they reach there next billing cycle

        1 Reply Last reply Reply Quote 0
        • N
          Nullity
          last edited by Sep 17, 2015, 10:12 AM

          Linux iptables (using standard modules) has this ability but not BSD, unless you script something yourself. A script, using python, perl, or even simple shell scripting, should be easy, but I would probably choose iptables.

          Please correct any obvious misinformation in my posts.
          -Not a professional; an arrogant ignoramous.

          1 Reply Last reply Reply Quote 0
          • H
            Harvy66
            last edited by Sep 17, 2015, 12:12 PM

            @j-servers:

            Just basically just slow there connection down until they reach there next billing cycle

            Of course you're trying to slow them down, I was asking why. There are two popular reasons, but congestion is a bad reason because it doesn't make a large difference on average and there are better ways to fight congestion. Data usage, there's not much else you can do but to slow them down.

            1 Reply Last reply Reply Quote 0
            • E
              Ecnerwal
              last edited by Sep 19, 2015, 3:35 PM

              The manual (could be automated) scheme I use (with the limiter) is to review use in bandwidthd and put the winners into a lower-priority queue - this is by writing IP addresses to an alias, and the LAN rules run the alias through the appropriate queue.

              For your scheme you could put them into a limiter queue that was speed-limited per pipe (rather than my scheme of a queue that has a lower priority, but no actual numerical limit, if nobody else is using BW.)

              I think the portal has a built in setup to simply cut them off after X amount (I have not used the portal myself)

              pfSense on i5 3470/DQ77MK/16GB/500GB

              1 Reply Last reply Reply Quote 0
              1 out of 6
              • First post
                1/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received