Redirect



  • 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.



  • @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 .....




  • 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?


Log in to reply