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

    Captive Portal Probelm

    Captive Portal
    captive portal
    2
    3
    530
    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.
    • mohkhalifaM
      mohkhalifa
      last edited by

      Dear All,
      I'm facing a problem that the sometimes CP not showing for the users specially If I delete them from the CP status to re-login again. also, the redirect url shows as the pfSense url/example.com which is the redirect url is example.com
      Please Advise guys!
      Thanks for that amazing forum :)

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

        Hi,

        What do they see exactly ? URL ?

        Understand that all OS's these day detect captive portals - and pfSense's captive portal facilities make use of this.
        When you shut down the connection, there is no such thing as the OS on the user's device retest for a captive portal presence again.

        If the user was visiting some https site, then there is no way to redirect the user (browser) again to the captive portal's login page.
        What does work : the user should bring the connection down, for example, switch to another wifi connection, or shut down the wifi entirely. Then switch back to your wifi network. This will make the OS to re detect if a captive portal is present (it throws out a classic http://blabalalalala OS specific request) and if so, the user will be presented with a login page.

        Best solution will be : only disconnect people when you want them to disconnect from then moment. Let them handle the issues about how to reconnect. And if they can, why disconnect them in the first place ?

        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
        • mohkhalifaM
          mohkhalifa
          last edited by

          Thanks dear for your kind reply. I solved my problem that I created another portal to handle the pfsense CP pages to the users and now everything is going perfect EXPECT I need to add a code to my logout page to get the close event from the pages with a warning message to the users that "if you close this page will be logged-out" then if the user confirm this warning message I will force the logout button before closing.
          Your suggestion is highly appreciated :)

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