Captive Portal not working - No redirection to splash page - No Internet



  • Good day
    I have spent weeks searching and trying to get captive portal on since I prefer to use pfsense and nothing else, Everything works but when I activate captive portal, it will not redirect to where users will authenticate, and it will no longer browse, Please, I really would like to use the captive portal, right now, am doing the authentication with mikrotik, I would like to use an open source linux like pfsense. Please kindly help.

    Best Regards
    Jem



  • i got similar problem.

    ubuntu installed with freeradius as a radius server.
    PFsense inside virtualbox as a captive portal page.

    but ..pfsense captive portal page does not come out.

    maybe both of us will be point to same solution  ;D



  • Which version are you using 2 or 2.1 beta?
    If 2.1 which snapshot?
    Are you using IPv6?
    Does the portal page never appear or only with certain addresses. e.g. https?
    Have you defined a ssl certificate for the Captive Portal?
    Do your clients use your pfSense DNS server?
    Is pfSense configured as the default gateway for your clients?



  • @bardelot:

    Which version are you using 2 or 2.1 beta?
    If 2.1 which snapshot?
    Are you using IPv6?
    Does the portal page never appear or only with certain addresses. e.g. https?
    Have you defined a ssl certificate for the Captive Portal?
    Do your clients use your pfSense DNS server?
    Is pfSense configured as the default gateway for your clients?

    version : 2.0.1-RELEASE
    im using ipv4
    whatever address i point to. CP page never show up at all. CP page only show up when i type in '192.168.1.99:8000'
    ssl certificate? i have no idea. Will u guide me?
    i set pfsense box LAN as dhcp. client will be given ip automatically. Do i need to set my DNS again?



  • Do you require 2.0.1-RELEASE or could you try 2.1-BETA1? It's already very stable and there were lots of improvements with the Captive Portal. Unfortunately I'm unfamiliar with the current status of the Captive Portal in 2.0.1.



  • owh …one more thing. if im access to http://192.168.1.90/phpmyadmin
    CP will show up and asking me to login username and password.
    but when ever i browser to google or internet ..its keep showing page not found
    anything to do with firewall rules?

    my configuration look like this:

    <internet>---<modem router="">---<ubuntu radius="" server(192.168.1.90)="">--<pfsense cp(wan-192.168.1.99="" lan-192.168.3.11)="">---<wifi>---<mylaptop></mylaptop></wifi></pfsense></ubuntu></modem></internet>



  • The usual cause for not getting redirected is not using the DNS forwarder as the DNS server on clients (so you're blocking their ability to resolve DNS and hence cannot make a request to be redirected), or not permitting the HTTP request you're trying to redirect via firewall rules.

    @bardelot:

    Do you require 2.0.1-RELEASE or could you try 2.1-BETA1? It's already very stable and there were lots of improvements with the Captive Portal. Unfortunately I'm unfamiliar with the current status of the Captive Portal in 2.0.1.

    Captive portal in 2.0.1/2.0.2 is definitely in better shape than 2.1, there are no issues in 2.0.x, there are some outstanding in 2.1 introduced with the multi-instance capabilities.



  • Gentlemen
    Regarding the DNS forwarder, it is activated, I have also upgraded from 2.0 to 2.1, yet the redirection to authentication page is not working, I wonder I can make it work, please, I really need help.

    Could I install dolaradius in pfsense? I was wondering this the captive portal is not coming up if there is other third party apps that I can install and use in pfsense for user authentication

    Thank you



  • I Have a problem with redirection to my CP page. When I type, for instance, www.google.com I get an error message "no such page" but when I type 173.194.78.103 google IP address. My Captive Portal work. I thing that I have a problem with my DNS configuration. Can you help me ?



  • Your clients have to use the pfSense DNS forwarder.



  • Thanks for you help. In my DCHP service on pfsense, i put a dns server address, so that clients get this dns address. But solution is to drop this dns address in dhcp service configuration for this interface and enable dns forwarder.


Locked