Redirection won't work before Captive Portal



  • Hello,

    I've deployed CP in pfsense and it worked fine. Now (I don't know why) I have problem with auto redirection on client startup.

    I turn on client web browser and type eg. google.com. I'm not authenticatd, so I should be moved to internal web auth -> 192.168.1.1:8080. But I'm not - I only receive timeout. If I manually point my browser on startup to 192.168.1.1:8080 I can authenticate and after that everything seems to be OK.
    Where is missing that redirection?

    Regards

    R.


  • Rebel Alliance Developer Netgate

    What DNS server is being used by the clients?

    It should be using 192.168.1.1 as its DNS server. If you are using an external DNS server supplied directly to clients, you will need to add an IP bypass to the portal config for the DNS server IPs, or else the clients can't resolve DNS, which means they can't ever try to make the connection, let alone redirect.

    That may not be your issue, but it's one of the most common.


Log in to reply