Captive Portal Redirecting
-
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. -
Hey, I have the exact same problem.
I tried your solution, but it still loops me back to login page :-\
-
I had this problem, and found that every time i had the looping problem, the customer had some sort of virus/firewall software that did not like Redirects (usually ZoneAlarm) turning off ZA would fix the problem.
-
I am currently on a pc that has no firewall on it. The portal just keeps redirecting me back.
Clean install of pfsense. PC using XP, with no firewall/AV. The PC is directly on LAN interface of PFSense. tried the rule aswell. Doesn't Help…
This is REALLY driving me crazy. I really want to use the captive portal.
Please help
:'( :'( :'( :'( :'( -
I am also experiencing this problem. I am currently using a different server for captive portal, but would really like to use pfsense for captive portal.
-
Run this commands and post them here or through email:
ipfw show
ifconfig
tcpdump -i $lan
pfctl -vsr
and the appropriate logs. -
after struggling for two hours it just started working and I cant reproduce the error.
??? ??? ???
oh well, I appreciate your help
backing up this config!!
-
hi
i slolved this problem by telling my clients to close the web page after loging in and open it again will proceed to where ever you want to go.
hadi57
-
Have the same problem. After the user authenticate in the capitve page it loops to the same page. But the user is authenticated already and he can access the internet. Do someone have the solution to this problem?
-
Did anyone ever find a good solution for this? I have the same problem, and I've tried editing the index page but it doesn't affect it. If after we authenticate we close and reopen the browser then it works. But otherwise it keeps redirecting back to the portal page.