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

    Redirect

    Captive Portal
    2
    3
    868
    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.
    • A
      anderson.deda
      last edited by

      Goodnight personal hello.
      Pfsense have installed and working properly, the captive portal is also up and running very well.
      Our page from the captive portal is personalized, so far so quiet, my question relates to the redirection after authentication.
      Today all users are sent to the same page, however, we want to remove this feature, we want the user to go to the website that he would like to visit when it opened the browser, when I leave the field corresponding to the $PORTAL_REDIRURL$ simply nothing happens , will not go anywhere.

      Could you help me solve this mystery?

      Thank you very much in advance.

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

        @anderson.deda:

        Today all users are sent to the same page, however, we want to remove this feature, we want the user to go to the website that he would like to visit when it opened the browser, when I leave the field corresponding to the $PORTAL_REDIRURL$ simply nothing happens , will not go anywhere.

        You're not mixing up something ?

        $PORTAL_REDIRURL$ is related to the PRE authentication (see image).
        Leaving both empty and you'll be good. At least, it works for me.

        "After authentication Redirection URL" is used to force a user to visit a web site AFTER authentication. Leave it empty, and the user goes where he initial wanted to go, after they succeeded login.

        Btw : be careful. More and more often, people set a home page that is using https://…
        This will throw errors, because the pfsense portal will be the man in the middle, and browser will not like that .....

        pfsense-URL.PNG
        pfsense-URL.PNG_thumb

        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
        • A
          anderson.deda
          last edited by

          Hello.
          I believe that the error is in the custom file that I created.

          When I put the url field after authentication it works perfectly, I would like to turn this option off if I leave blank post authentication field simply nothing happens after authentication.
          I would have to change these file lines?

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