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

    Will this work?

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 2 Posters 2.0k 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.
    • R
      redpanther
      last edited by

      Ok since PFsense doesn't do Access control by time can I do this?

      DSL–-PFsense---switch----Linksys router----kid's pc
                                        |------other pc's

      What I want to do is let PFsense do it's thing and have a Linksys router off of the switch connected to a certain pc and let the Linky kill his access at a prescribed time since the Linky can do this.

      If this is possible how do I setup the routers?

      Acer Aspire One Netbook
      Atom 1.6 GHZ
      1GB ram
      Lan RE0 Onboard Realtek
      Wan UE0 Trendnet TU2-ET100 USB-LAN

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

        do a hd install of the last snapshot of pfsense
        then install the freeradius package
        replace freeradius.xml and freeradius.inc on location /usr/local/pkg
        with the same to file from this link
        http://wlelystad.homeip.net/pfsense/freeradius

        go to the freeradius setup
        and setup freeradius on the lan port
        now setup a freeradius client with the ipadress of the lan port
        remember the shared secret this is needed on the captive portal

        now setup youre kid as a user with the online time function of freeradius

        now go to the pfsense captive portal setup
        set the portal to the lan port
        set Idle timeout to 6 min
        Hard timeout blank
        Authentication to RADIUS authentication
        Primary RADIUS server IP address to the ip of youre lan
        Shared secret  to the secret you put in with freeradius
        Accounting
        send RADIUS accounting packets eneable this
        Reauthentication
        Reauthenticate connected users every minute eneable this
        Accounting updates
        interim update  enable this
        save it and you have a time controled user

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