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

    Time-based PPPoE users

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 3 Posters 11.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.
    • G
      Gandalf
      last edited by

      Hello,

      My friend wishes to control when his kids are allowed to use internet without being over their shoulders all the time, so what he wishes to do is to create usernames for each of his kids but it must not work all the time, it has to be time-based activated. All his kids will be on wireless clients, so what do you think guys which system he has to use? Wifi+PPPoE or Wifi+Radius, and which one can be a time-based rule??

      Thanks

      1 Reply Last reply Reply Quote 0
      • C
        cybrsrfr
        last edited by

        I would go with captive portal and point it to the freeradius package.

        I have attached some modified PFSense 1.2 RC3 files that allow you to specify 'Online time' the changes aren't mine I simply applied them to 1.2RC3 and attached them to the forum link below:
        http://forum.pfsense.org/index.php/topic,1987.msg40255.html#msg40255

        If your friend content filtering for the kids Open DNS provides a nice free filtering of over 1 million sites. To keep your ip synched with OpenDNS you will need to use DNS-O-Matic. DNS-O-Matic support will likely be in PFSense1.3. If you are like me and would like to have it now. The attached files are modified using changes retrieved from http://cvstrac.pfsense.com/search?s=dns-o-matic&t=1&c=1&f=1 and applied manually to PFSense 1.2 RC3 files. To apply them enable SSH and then use SFTP to copy the files to the correct directory.

        Rename the files and copy them to:
        /etc/inc/
        dyndns.class

        /usr/local/www/
        services_dyndns.php

        dyndns.class.txt
        services_dyndns.php.txt

        1 Reply Last reply Reply Quote 0
        • C
          cybrsrfr
          last edited by

          If you don't want to go through the adding the freeradius updates there is one other method you can use with PFSense 1.2.

          If your kids have dedicated computers you could make a DHCP reservation for the kids computers and then create a schedule for the kids. After creating the schedule create a rule for their IP addresses. During the configuration of the rule select the desired schedule.

          1 Reply Last reply Reply Quote 0
          • D
            dro
            last edited by

            @cybrsrfr:

            If your friend content filtering for the kids Open DNS provides a nice free filtering of over 1 million sites. To keep your ip synched with OpenDNS you will need to use DNS-O-Matic. DNS-O-Matic support will likely be in PFSense1.3. If you are like me and would like to have it now. The attached files are modified using changes retrieved from http://cvstrac.pfsense.com/search?s=dns-o-matic&t=1&c=1&f=1 and applied manually to PFSense 1.2 RC3 files. To apply them enable SSH and then use SFTP to copy the files to the correct directory.

            Rename the files and copy them to:
            /etc/inc/
            dyndns.class

            /usr/local/www/
            services_dyndns.php

            Thanks, Works great..

            also just a note for everyone if your updating all of your domains you can just use all.dnsomatic.com in the hostname.

            Source: http://www.dnsomatic.com/wiki/api

            1 Reply Last reply Reply Quote 0
            • C
              cybrsrfr
              last edited by

              Thanks for sharing the all.dnsomatic.com tip! I hadn't seen that yet. I'm now using that on my system.

              I saw there was a request in CVS for ability to update multiple dynamic DNS providers at one time. Cool thing is that is possible using dns-o-matic web tool with the all.dnsomatic.com.

              1 Reply Last reply Reply Quote 0
              • G
                Gandalf
                last edited by

                Thank you mrcrane, and sorry for the late reply, I'll install it for him hopefully next month…
                Thank you again for your fast reply :)

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