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

After LOGIN, redirecting me back to login page again. [SOLVED]

Scheduled Pinned Locked Moved Captive Portal
4 Posts 2 Posters 5.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.
  • X
    xin
    last edited by Jun 10, 2009, 11:29 AM May 22, 2009, 2:03 PM

    I have pfsense as a node on the way to my internet gateway.   There are many subnets on the LAN side. LAN –-> PFSense ---> Internetz

    The Problem: Me and my partner are testing the portal. When he opens it, he can log in and go on to browsing ( RADIUS/Local/No auth --> they all work).  But when I log in, no matter what authentication I use, I get redirected back to the login page again. No matter what i do I cant get past the login page. If i type the INCORRECT login details, it tells me that its incorrect, but with the correct details it basically just refreshes the login page.

    Please Help,
    Thank You

    1 Reply Last reply Reply Quote 0
    • D
      despotadmin
      last edited by May 26, 2009, 2:10 PM

      http://forum.pfsense.org/index.php/topic,15231.0.html

      @crackedatom:

      I noticed a problem with redirecting users after they have logged in through the captive portal. I did see a ticket for it, but no answer.
      Once authenticated the redirection page just keeps looping/loading without going anywhere. I fixed this by replacing:

      document.location.href="{$my_redirurl}";
      

      in /usr/local/captiveportal/index.php with:

      location.href="{$my_redirurl}";
      

      (should be around line 368). Seems to be working fine now.
      Oh, this is in pfSense 1.2.2. Not sure if it's been fixed yet.

      1 Reply Last reply Reply Quote 0
      • X
        xin
        last edited by Jun 7, 2009, 3:44 PM

        opened in vi. edited. saved. rebooted.

        Still does the same thing :(

        1 Reply Last reply Reply Quote 0
        • X
          xin
          last edited by Jun 10, 2009, 11:29 AM

          Ok, I solved it. The PC i was testing it was first going through a Mikrotik Hotspot page, before logging into the Pfsense Captive portal. Upon disabling the hotspot, the portal worked.

          This doesnt really make anyway sense to me, but seeing as though we are disabling the Mikrotik Captive Portal to use the Pfsense one, it doesn't really matter

          :) :) :) :) :) :) :) :)

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received