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

    username schedule

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    8 Posts 4 Posters 970 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.
    • H
      hadi57
      last edited by

      hi
      is it possible to create a per username schedule.
      haid57

      noplanN 1 Reply Last reply Reply Quote 0
      • noplanN
        noplan @hadi57
        last edited by

        @hadi57

        oh interesting, anyhow a specific use case in mind ?

        H 1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          For VPN login? For local login?

          The short answer is no but there might be a longer answer. 😉

          Steve

          noplanN 1 Reply Last reply Reply Quote 0
          • noplanN
            noplan @stephenw10
            last edited by

            @stephenw10 said in username schedule:

            a longer answer.

            oh yes i go with that one ;)

            create a username on every second tuesday each month with the username like this
            tuesday01 (jan)
            tuesday02 (feb)
            tuesday03 (mar)
            ..
            ..

            and a password.

            then set a schedule rule on every Wednesday to disable the user created on that tuesday

            oh boy ... my head ... gonna start to drink the better stuff if more fun is commin in ;)

            Np

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              Hmm, schedueled existence of users? Interesting.

              I don't think that's what the OP had in mind though. I suspect he wanted something more like:
              Connections from users in group 'A' are passed at any time. Connections from group 'B' are only passed at scheduled times.

              Doing that requires pfSense associate an IP with a user which is only possible using the Captive Portal or authenticated Squid. It is not possible to use Windows login (SSO) which is what a lot of people ask about.

              Steve

              1 Reply Last reply Reply Quote 0
              • H
                hadi57 @noplan
                last edited by

                @noplan
                yes, i have domestic helper at home, she stays awake till 3 am and wakes up after 10, i want to control her connection while keep the rest of the family open schedule.

                thanks for asking

                NogBadTheBadN noplanN 2 Replies Last reply Reply Quote 0
                • NogBadTheBadN
                  NogBadTheBad @hadi57
                  last edited by

                  DHCP fixed lease then schedule firewall rules to block and allow.

                  Andy

                  1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                  1 Reply Last reply Reply Quote 0
                  • noplanN
                    noplan @hadi57
                    last edited by

                    @hadi57

                    if you want to restict connection time you might also want to
                    separate the domesitc helper from rest of the family net (just to think about)
                    anothe thing to point out ... think about bandwidh limitation for the helper

                    easy way like @NogBadTheBad said
                    DHCP with a fixed IP
                    then set up alias for this ip eg domHelper
                    set up scheduler
                    the firewall rule with scheduler for this alias

                    other way
                    captive portal (used with a network (this will separate the helper from the family net)
                    and schedule time

                    another way
                    set up a separate wifi with a vlan on your pfS
                    then you can also separate
                    and with the scheduler solve the connection time prob

                    brNP

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