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

    Username Only Captive Portal

    Scheduled Pinned Locked Moved Captive Portal
    2 Posts 2 Posters 506 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.
    • G
      gtt1229
      last edited by

      I am trying to setup Captive Portal to just take a username. This is for my guest network, where I don't care too much about authentication since I only open it when I expect guests, and the network is very much locked down.

      I found this old post Show a username without Authentication from the past, but I can't figure out how to implement the patches properly.

      Does anyone have experience implementing this?

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

        @gtt1229 said in Username Only Captive Portal:

        I am trying to setup Captive Portal to just take a username.

        Why do you want to take a name ?
        a) so the user can type in sjkdfhsqjfhskjhfsjkqsqjdfhsdqfjh and then you trow that name away, and have all user login using a generic name, common among all users ?
        b) or do you want that name to match with an existing using, so "sjkdfhsqjfhskjhfsjkqsqjdfhsdqfjh" has to exist ?

        No need to patch the system, you can (have to) create your own 'html login page'.
        The concept is shown here :

        c111e717-d4e1-4e32-a1b8-ae4cf432ee7c-image.png

        To see the full html page, have the login page shown in your browser, and tell your browser to show the 'source' (and that is html of course, as that is what the browser received).

        You could hide the real user name, and the real password. Just show a welcome message.
        The hidden (not shown on the screen) user name and password will be used for all users to login. This user password pair has to be defined in the pfSense User manager.

        You'll have to set this :

        5142ad4c-5e25-47a1-ac45-f48eefc92da0-image.png

        otherwise an existing logged in user will get thrown of if some else is logging in.

        Or, go for the

        088455cb-6256-46ae-9380-17ac82d3e200-image.png

        option. You can add a html field that asks for a name, phone number, or why not, ask for a credit card number **, as the entered text gets ditched anyway.

        ** I advise you to use https to show the portal login page, if not, you'll get hurt.

        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
        • R regexaurus referenced this topic on
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.