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

    Captive Portal , need password from users after reboot PFsense Server

    Scheduled Pinned Locked Moved Captive Portal
    15 Posts 5 Posters 3.6k 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.
    • GertjanG
      Gertjan
      last edited by

      @mfaridi:

      I need Captive portal need password after 120 min .again from users

      Why do you say just now that users should be disconnected after 120 minutes ?
      Look above : you didn't asked that …..  >:(

      Anyway : throw away your Radius /whatever  setup (to make things work right away, simple, easy, etc) : setup user local user authentication and password.
      And : Look for this at the Captive portal config page :
      Hard timeout (Minutes)
      and set it to 120.
      Save.
      Done.

      Afterwards, when it works, put Radius etc back in again, and keep things working. If they don't, just undo your steps.

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      1 Reply Last reply Reply Quote 0
      • M
        mfaridi
        last edited by

        @Gertjan:

        @mfaridi:

        I need Captive portal need password after 120 min .again from users

        Why do you say just now that users should be disconnected after 120 minutes ?
        Look above : you didn't asked that …..  >:(

        Anyway : throw away your Radius /whatever  setup (to make things work right away, simple, easy, etc) : setup user local user authentication and password.
        And : Look for this at the Captive portal config page :
        Hard timeout (Minutes)
        and set it to 120.
        Save.
        Done.

        Afterwards, when it works, put Radius etc back in again, and keep things working. If they don't, just undo your steps.

        Thanks
        Sorry my English is Bad
        I need Radius because I can set limitation for users and I can not do this with local users

        I need captive portal need password again because , some user leave work place and other users  can use that system agian

        1 Reply Last reply Reply Quote 0
        • M
          muswellhillbilly
          last edited by

          I for one, can't see what the problem is here. Just don't reboot the firewall and your users will remain logged in for however long you set them to (eg: 120 mins). Is there some reason you need to reboot the firewall while it's in use? Or are you saying that your users don't have to log in at all after they've logged in once?

          1 Reply Last reply Reply Quote 0
          • M
            mfaridi
            last edited by

            @muswellhillbilly:

            I for one, can't see what the problem is here. Just don't reboot the firewall and your users will remain logged in for however long you set them to (eg: 120 mins). Is there some reason you need to reboot the firewall while it's in use? Or are you saying that your users don't have to log in at all after they've logged in once?

            Sorry for my bad English,
            My problem is this .
            when one user authenticate by captive portal , he or she can use Internet for long time , for example if she or he , come to work place tomorrow and after tomorrow , captiveportal do not ask user name and password again .

            I have to reboot PFsense Server , because after reboot captive portal need password and username again .

            for example again , I have this user
            AAA , when AAA want connect to internet , for first time after reboot PFsense Server , captive portal need username and password , but when AAA go home and comeback  to work place after several time , captive portal do not ask username and password again.

            1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan
              last edited by

              If I get this well :
              Some user should login and stay connected for "120" minutes.
              Others should stay connected all the time.

              That's it ?

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 0
              • M
                muswellhillbilly
                last edited by

                @mfaridi:

                I have to reboot PFsense Server , because after reboot captive portal need password and username again .

                I repeat, why do you have to reboot the firewall? Just don't reboot it.

                1 Reply Last reply Reply Quote 0
                • M
                  mfaridi
                  last edited by

                  @Gertjan:

                  If I get this well :
                  Some user should login and stay connected for "120" minutes.
                  Others should stay connected all the time.

                  That's it ?

                  No , my problem is this
                  why captive portal only need password and username after reboot PFsense ?
                  After reboot Captiveportal need pass and useranme and after first authentication , captive portal do not ask pass and username again .

                  If user AAA enter his username and password , captive portal do not ask password and username from AAA . until next PFsense Server reboot.

                  1 Reply Last reply Reply Quote 0
                  • M
                    mfaridi
                    last edited by

                    @muswellhillbilly:

                    @mfaridi:

                    I have to reboot PFsense Server , because after reboot captive portal need password and username again .

                    I repeat, why do you have to reboot the firewall? Just don't reboot it.

                    I have to reboot it , because Captive portal do not ask username and password from users .
                    only ask username and password after reboot system
                    I reset service like captive portal , Freeradius , and squid , but nothing happen .

                    1 Reply Last reply Reply Quote 0
                    • M
                      muswellhillbilly
                      last edited by

                      The way you're describing this, you say that your users should not have to enter a username/password after doing so once. Yet you also say you're having to reboot the firewall because it's not asking for a username/password, which you've already stated is what you want.

                      I really do think you'd be best off asking this question in your own language on one of the foreign language parts of this forum. I appreciate English is not your strong suit, but you're really not getting across what you're after at all well, and we're just going round in circles trying to find out what the problem is.

                      1 Reply Last reply Reply Quote 0
                      • M
                        mfaridi
                        last edited by

                        @muswellhillbilly:

                        The way you're describing this, you say that your users should not have to enter a username/password after doing so once. Yet you also say you're having to reboot the firewall because it's not asking for a username/password, which you've already stated is what you want.

                        I really do think you'd be best off asking this question in your own language on one of the foreign language parts of this forum. I appreciate English is not your strong suit, but you're really not getting across what you're after at all well, and we're just going round in circles trying to find out what the problem is.

                        I think my question us clear ,
                        why captive portal do not ask username and password after 120 min , from all users.
                        captive portal need password and username from users only when PFsense rebooted by admin ?

                        1 Reply Last reply Reply Quote 0
                        • H
                          hardy_rafael17
                          last edited by

                          Hi!!!
                          What is your Captive portal set up___???

                          if you want all users to be disconnected after 120 minutes… I think you should go like this...

                          reauthenticate users every minute should be disabled (that's below radius options), and set the hard time out to 120 minutes...

                          ![reat.. users every minute.JPG](/public/imported_attachments/1/reat.. users every minute.JPG)
                          ![reat.. users every minute.JPG_thumb](/public/imported_attachments/1/reat.. users every minute.JPG_thumb)
                          120.JPG
                          120.JPG_thumb

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