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

    Captive portal page not showing work only when typing IP:8000

    Captive Portal
    5
    11
    1.6k
    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.
    • M
      manpacheco
      last edited by

      Everything work fine able to browse any site except need to input the IP:8000 to go to portal page and successfully authenticated .How can redirect the portal page when browsing any site for those user are not yet successfully login?

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        Something ** is wrong in your basic setup.

        Tel us about your :
        DNS Setup
        Used interfaces
        Portal setup.

        ** I can't say more. You didn't say anything about your setup.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by

          https://doc.pfsense.org/index.php/Captive_Portal_Troubleshooting#Captive_portal_not_redirecting

          1 Reply Last reply Reply Quote 0
          • M
            manpacheco
            last edited by

            WAN
            IP:192.168.100.5
            Gateway:192.168.100.1
            DNS:8.8.8.8
                    8.8.4.4
            LAN
            IP:192.168.1.1
            Gateway:None
            DNS :None

            Used interfaces : I used the LAN interface
            Portal setup:I used the pfsense default config

            All config are based on the pfsense site tutorial ,when I enable captive portal can't browse any site only when I type the 192.168.1.1:8000 then login successfully .Why I can't redirect the portal page when browsing site at start using the LAn interface?

            1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan
              last edited by

              @manpacheco:

              ….
              LAN
              IP:192.168.1.1
              Gateway:None
              DNS :None

              Used interfaces : I used the LAN interface
              Portal setup:I used the pfsense default config

              All config are based on the pfsense site tutorial ,when I enable captive portal can't browse any site only when I type the 192.168.1.1:8000 then login successfully .Why I can't redirect the portal page when browsing site at start using the LAn interface?

              as you said, if you (the visitor) uses an URL like http://www.google.com, as you are not resolving DNS for the visitor, you will not be redirected (to the portal).
              See (again) https://doc.pfsense.org/index.php/Captive_Portal_Troubleshooting#Captive_portal_not_redirecting : first issue.
              What are your captive portal firewall rules ? (issue 2)
              Keep in mind issue 3 …

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 0
              • M
                manpacheco
                last edited by

                I already see the first issue ,what should I do to solved the " resolving DNS for the visitor"?I using the default  firewall rules on the lan interface and also I enable the DNS Forwarder

                Capture.PNG_thumb
                Capture.PNG

                1 Reply Last reply Reply Quote 0
                • DerelictD
                  Derelict LAYER 8 Netgate
                  last edited by

                  What version pfSense is this captive-portal:8000?

                  Chattanooga, Tennessee, USA
                  A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                  DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                  Do Not Chat For Help! NO_WAN_EGRESS(TM)

                  1 Reply Last reply Reply Quote 0
                  • M
                    manpacheco
                    last edited by

                    I'm currently using the pfsense 2.0.3  x86 .

                    1 Reply Last reply Reply Quote 0
                    • M
                      muswellhillbilly
                      last edited by

                      My answer to the other post you added to another query of this kind:

                      What are you using for DNS? The browser has to be able to resolve an external address before redirecting to the portal page. Until you've authenticated, external DNS servers are unavailable, so the best thing is to set PFS as a DNS forwarder and use the firewall as your primary DNS for your LAN clients.

                      1 Reply Last reply Reply Quote 0
                      • M
                        muswellhillbilly
                        last edited by

                        @manpacheco:

                        I'm currently using the pfsense 2.0.3  x86 .

                        As an aside, you might want to consider upgrading to a newer version.

                        1 Reply Last reply Reply Quote 0
                        • M
                          manpacheco
                          last edited by

                          IS working now updated to 2.1.X.. thnxs to all who reply

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