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

    Redirection won't work before Captive Portal

    Scheduled Pinned Locked Moved Captive Portal
    2 Posts 2 Posters 2.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.
    • Z Offline
      zawiert
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        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.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.