Time-based PPPoE users



  • 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



  • 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



  • 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.



  • @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



  • 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.



  • 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 :)


Log in to reply