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

    Internet Bandwidth Control

    Scheduled Pinned Locked Moved pfSense Packages
    10 Posts 6 Posters 7.3k 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.
    • S
      stevenma188
      last edited by

      I live in a house with 3 other students. All 4 of us use the internet expensively, but we have a 60 GB bandwidth limit. After exceeding our limit, we are charged $2 for each GB we go over. Then every month it becomes a huge headache trying to figure out who used how much bandwidth and how the additional costs should be split.

      I was thinking of using pfSense so that we can monitor how much total traffic (Up and Down) each MAC address has been using. A bonus feature would be to block MACs after they exceed the 15GB per person limit.

      Will I be able to do this?

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

        I would also install squid simply to reduce your chances of going over the 60gb cap.  Make sure you make the necessary changes to enable dynamic content caching (for sites like YouTube etc.)  Search the forums to find out how to do this as well as the answer to your bandwidth measurement questions.

        1 Reply Last reply Reply Quote 0
        • T
          tommyboy180
          last edited by

          That would work in most cases. Are your room mates also using torrents and other streaming protocols?

          The reason I ask is because Squid will only report on port 80 traffic. I found two posts that should put you in the right direction:
          http://forum.pfsense.org/index.php/topic,6679.0.html
          &
          http://forum.pfsense.org/index.php/topic,14258.0.html

          -Tom Schaefer
          SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

          Please support pfBlocker | File Browser | Strikeback

          1 Reply Last reply Reply Quote 0
          • T
            tester_02
            last edited by

            @tommyboy180:

            That would work in most cases. Are your room mates also using torrents and other streaming protocols?

            The reason I ask is because Squid will only report on port 80 traffic. I found two posts that should put you in the right direction:
            http://forum.pfsense.org/index.php/topic,6679.0.html
            &
            http://forum.pfsense.org/index.php/topic,14258.0.html

            While I currently do not need this feature, I think it's a really good feature if implemented.
            Since pfsense is running so nice right now, I thought it would be something interesting to play with (or at least learn about). 
            Anyways, I did read the links you mentioned, but they seem to both go to a dead end.  Some hope in 2.0, but otherwise I did not see a solution.
              Back to reading and more seaches…..
            If I run out of things, it's OPENVPN, or getting freeswitch to run properly again..... :)

            1 Reply Last reply Reply Quote 0
            • S
              stevenma188
              last edited by

              I read both links, and my understanding are that both didn't offer any instructions for me to follow. I am very new to all of this, and didn't understand a lot of the technical jargin and reference to various programs (ie IPFW). Anyways, I guess I will keep looking and learning…

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

                Traffic shaper under Firewall>Traffic would do that i guess. You can also use lightsquid to report everything http except https.

                jigp
                Davao City
                1.2.2

                1 Reply Last reply Reply Quote 0
                • S
                  stevenma188
                  last edited by

                  Hi jigpe, thanks for the reply. Does traffic shaper report overall bandwidth usage or would it be able to split up per MAC address?
                  Thanks

                  1 Reply Last reply Reply Quote 0
                  • K
                    Kreeblah
                    last edited by

                    I did something like this when Comcast implemented their 250 GB monthly cap, as none of us were really sure how much bandwidth we were using.  What I did was install the pfflowd package in pfSense and then used NfSen on my file server to capture the netflow packets pfflowd generated and analyze data from them.  It was kind of a pain to get NfSen set up, but it was worth it in the end.  If you do go this route, though, you'll want to reserve an IP address with the DHCP daemon for each MAC address you want to track, as I don't believe you can get that from the data the NfSen logs.

                    1 Reply Last reply Reply Quote 0
                    • S
                      stevenma188
                      last edited by

                      Hi Kreeblah,
                      What do you mean set up NfSense on your file server? does this mean I just set it up on the computer running PFSense?
                      Thanks

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

                        stevenma188: "Hi jigpe, thanks for the reply. Does traffic shaper report overall bandwidth usage or would it be able to split up per MAC address?
                        Thanks"

                        • Traffic shaper i guess have no real time records. Try install lightsquid you can see whos eating lots of files or who download big files. You can try bandwidth package too.

                        jigp
                        Davao City
                        1.2.2

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