Captive Portal Login Button Doesn't Work
-
Hello All,
I want to set up captive portal on pfsense box(2.0.3), which is located behind a router and the internal network. All users are successfully redirected to login page, but when they enter their credentials the "Login" button doesn't work and they are not redirected back to the initial page they'd requested. FYI the page doesn't even refresh!
Please help me with this problem. :(
-
Hello!
Are you sure that its the button not working, It could be a DNS problem. You have to allow your DNS servers IP through the captive portal if you dont use pfsense itsef as DNS Forwarder and point your clients DNS to it.
/erik
-
Hi,
I've setup DNS forwarder on the CP and all clients are also pointed to it. I've to say again that there is a router between the CP and internal networks.
Thanks for your reply.
-
What kind of authentication do you use? If you get to the portal and u type in your credentials and it spins it my as well be a problem with your authentication.
-
I found the problem, I was using the default login page for the pfsense. The problem is that if you use the default login page, the method and post attributes of login form are marked as comment in html e.g . I removed the comment from the tag, now it is working fine.