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

How can i limit downloading speed and not bandwidth for browsing during the day?

Scheduled Pinned Locked Moved Traffic Shaping
8 Posts 6 Posters 9.6k 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.
  • L
    luke240778
    last edited by Dec 6, 2011, 3:00 AM

    I have a mix of business and home clients, all connected via antennas. What i need to be able to do and have no idea how to do it on pfSense (2.0-RELEASE) is to basically limit p2p and general downloading to a certain speed (say i sell a 2mbps connection, limit it to say 1mbps) but still allow general surfing and everything to 2mbps, and all this only during the hours of business that i can allocate? hope you are following..

    I want to make sure that most of the available bandwidth during business hours is for my business clients, and after hours for residential clients..  so business clients can keep going at 2mbps during the day and the residential users only can be capped during the day.

    I find that alot of people are downloading movies and watching alot of youtube that eats alot of bandwidth.

    1 Reply Last reply Reply Quote 0
    • P
      podilarius
      last edited by Dec 6, 2011, 1:17 PM

      Floating rules can have a schedule associated with them. So if you know the source networks, then you can write floating rules for day and evening that can put traffic into different queues at different times. Course I have not tried that. I would try that and see if that will do it.

      1 Reply Last reply Reply Quote 0
      • M
        mahoon
        last edited by Dec 28, 2011, 12:15 PM

        You must use Firewall -> Traffic Shaper to achive this. You can cap or prioritize bantwith of vlan which you want. Creat a Queue on Traffic shaper-> Proper Interface -> Add New Queue.Enter the bantwith limit or prioity what you need.Then attach the queue to the rule which the traffic you want to limit.  Also you can schedule this shaping for time based shaping on "Schedule" field of rule menu.

        You can create a schedule on Firewall -> Schedule menu.

        Saygılar..

        1 Reply Last reply Reply Quote 0
        • S
          sgtr
          last edited by Apr 3, 2012, 5:48 PM

          Hi Luke,

          You will find a solution what you need about it. https://www.youtube.com/watch?v=WhlBhMSG2t8

          Regards,
          SGTR

          Bir umut olmasa bile Asla Pes Etme.

          1 Reply Last reply Reply Quote 0
          • N
            Nachtfalke
            last edited by Apr 3, 2012, 6:04 PM

            Hi,

            TrafficShaper seems to be the best choice. There are other algorithms which allows the home-clients to use all bandwidth if there is no business customer downloading. But if the business customer starts downloading he gets the garantueed bandwidth.

            If I remember correct you are using a kind of freeradius. You should think about the following attributes. Perhaps they can help you of CaptivePortal supports them - not sure.

            • WISPr-Bandwidth-Max-Down

            • WISPr-Bandwidth-Max-Up

            • WISPr-Bandwidth-Min-Down

            • WISPr-Bandwidth-Min-Up

            The first two attributes are for setting an upper limit for download and upload.
            The other two attributes seem to set a garantueed bandwidth. But CaptivePortal must support that.

            Should be just an idea to think about :-)

            1 Reply Last reply Reply Quote 0
            • L
              luke240778
              last edited by Apr 4, 2012, 12:26 PM

              @SGTR:

              Hi Luke,

              You will find a solution what you need about it. https://www.youtube.com/watch?v=WhlBhMSG2t8

              Regards,
              SGTR

              That creates limit yes, but Captive Portal already does that.  Plus for hundreds of users like i have that would be alot of rule creating.

              That only limits speed, what i want is something that for example, if a client goes to speedtest.net i want them to see they are getting 2mb/1mb but i really only want them to be able to say download something like a torrent or large file at say 100kbps (around 1mb).

              1 Reply Last reply Reply Quote 0
              • S
                sgtr
                last edited by Apr 4, 2012, 5:02 PM

                Hi Again,

                Is it usefull for you to limit video traffics like youtube. I can explain one hint to limit video sites.

                Regards,
                SGTR

                Bir umut olmasa bile Asla Pes Etme.

                1 Reply Last reply Reply Quote 0
                • D
                  dhatz
                  last edited by Apr 4, 2012, 7:13 PM

                  Ideally you should use the traffic shaper, to ensure that business traffic gets priority over bulk downloads, instead of using a hard bandwidth cap via the CP limiters. It's also a decision between favoring best utilization of bandwidth vs consistency.

                  Anyway, the biggest problem with P2P traffic is that it's quite difficult to identify (in order proceed to the next step of limiting it).

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