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

    LIMITER BANDWIDTH PER IP

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 3 Posters 3.9k 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.
    • ? Offline
      A Former User
      last edited by

      Hi, i'm try limit bandwidth per ip, i create the limiter example "test" in Firewall – Traffic Shaper -- Limiters and i add Bandwidth= 20 Kbit/s when i try downlad a file, the speed is 100 KB/s but the navegation is unstable.

      In my ule firewall i create a alias call "marketing" and in rules i have in from "marketing" to "any" and pipe "test (donwload)" and "none" in upload. Please tell me how i can make that my users dowload to 120 Kb and can navigate not problems.

      NOTE: When I change the limiter called "test" in Firewall - Traffic Shaper - Bandwidth limiting and added in = 120 Kbit / s, the active members can download files at 700 KB / s

      1 Reply Last reply Reply Quote 0
      • X Offline
        xternal
        last edited by

        try using the captive portal instead. You can set it transparently so users do not need to login.
        You can then assign a bandwidth limit globally (applies to each user that logs in) or you can set bandwidth limits on a per ip/mac basis if you want to customise users.

        I have found this to be much more effective to limit each users bandwidth rather than limit the bandwidth on an interface which is then split between the number of active users on that interface.

        1 Reply Last reply Reply Quote 1
        • DerelictD Offline
          Derelict LAYER 8 Netgate
          last edited by

          @klausneil:

          Hi, i'm try limit bandwidth per ip, i create the limiter example "test" in Firewall – Traffic Shaper -- Limiters and i add Bandwidth= 20 Kbit/s when i try downlad a file, the speed is 100 KB/s but the navegation is unstable.

          Not sure what unstable means in this context.

          In my ule firewall i create a alias call "marketing" and in rules i have in from "marketing" to "any" and pipe "test (donwload)" and "none" in upload. Please tell me how i can make that my users dowload to 120 Kb and can navigate not problems.

          I don't know what you are doing because there is no upload/download in the rule settings. For limiters there are In and Out. This is from the perspective of the interface you are placing the rules on so for a LAN interface, In is "upload" from the user's perspective and Out is "download."

          Make a limiter called PerUserUpload. Set the bandwidth to how fast you want each limited IP address to be able to upload. Set a mask of Source addresses and mask bits of 32.

          Make a limiter called PerUserDownload. Set the bandwidth to how fast you want each limited IP address to be able to download. Set a mask of Destination addresses and mask bits of 32.

          On the LAN firewall rule that passes internet traffic, set In / Out to PerUserUpload / PerUserDownload.

          And you're done. This will only apply to new firewall states so if you do not see the results you expect, flush states in Diagnostics > States.

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User
            last edited by

            Hi Derelict, if i want each one group of users of "marketing" download to 150Kb, as it could do?

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