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

    Bandwidth limit rooms in pfsense

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 3 Posters 1.8k 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.
    • C
      crazyzoar Banned
      last edited by

      I have pfsense box. I want to make 4 rooms. The first room has 5 GB volume limit having speed 4MB. Second room has 10 GB volume limit having speed 2MB and vice versa.
      The user first live in room no.1. If he users internet too much and cross the limit of room no.1 then pfsense send this user in room n0.2 and vice versa.
      Is this possible in pfsense?????if yes then how?
      Explain me in detail and pictures. I am new on pfsense.

      1 Reply Last reply Reply Quote 0
      • N
        Nachtfalke
        last edited by

        That is really complex what you want to realize, but some things can be done:

        1.) do you mean "users" when you mean room ?
        If yes, then you should enable captive portal on pfsense. You should create 4 users with different username/passwords. then when someone wants to connect to internet he/she needs to enter the username/password.

        2.) On pfsense Captive Portal you can enable bandwidth the users are allowed to use. but this means that all users have the same upload/download.
        http://doc.pfsense.org/index.php/Captive_Portal

        3.) You should install freeradius2 package in addition. this will give you the possibility to enable an ammount of traffic (upload/download) for each user. after the user reached the ammount of traffic he cannot reconnect.
        http://doc.pfsense.org/index.php/FreeRADIUS_2.x_package

        BUT sending a user to another "room" after this person reached the ammount of traffic this can't be solved by pfsense as far as I know.

        1 Reply Last reply Reply Quote 0
        • W
          wagonza
          last edited by

          One suggestion, but this would require some work, is to have some external process that monitors the usage of each user. When they reach their cap, this process should then send a disconnect to RADIUS which disconnects the user.
          But before it does the disconnect it should switch the users class(room in this example) and this class will have the relevant attributes required to shape the user to the require speed. So when the user reconnects the new speeds are sent to pfSense for shaping.

          Follow me on twitter http://twitter.com/wagonza
          http://www.thepackethub.co.za

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