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

    Captive Portal not accessible

    Captive Portal
    3
    7
    3.1k
    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.
    • G
      gazoo
      last edited by

      When I set my wireless interface (ath0) to captive portal, the portal login never comes up - seems unreachable. I tried putting some explicit allow statements on the firewall, but I get nothing. If try it from another interface x.x.x.x:8000 it gets there fine. Once I lift the captive portal, everything routes fine.

      Is there anything I'm missing? I also put in the allow hosts the captive portal address just in case but still nothing.

      Any ideas?

      1 Reply Last reply Reply Quote 0
      • G
        gazoo
        last edited by

        bump

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

          Most commonly that's because you're blocking DNS, need to point clients to the DNS forwarder or allow their configured DNS servers. Does DNS resolve? Can you browse on that network to :8000? Do you have firewall rules on that interface?

          1 Reply Last reply Reply Quote 0
          • G
            gazoo
            last edited by

            I added a rules like crazy but nothing. My wireless interface subnet is 172.16.1.0/24. The portal SHOULD be running on 172.168.1.0:8000. I can ping 172.168.1.0 from the portal network (the wireless), but can't reach the portal itself. Like before, when I switch to another interface I can get to the portal no problem. I let all DNS pass through via rule too on the wireless interface (same as portal), but nothing.

            This is where it tries to go, but fails:  http://172.16.1.0:8000/index.php?redirurl=http%3A%2F%2Fwww.wikipedia.org%2F

            Any other suggestions?

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

              Your interface IP is 172.16.1.0 on a /24 network? That's not a valid IP, that's your problem. .0 is the network address on a /24.

              1 Reply Last reply Reply Quote 0
              • G
                gazoo
                last edited by

                Wow, so simple, I did miss that. However, why is it still accessible from another port if that is the network address?

                I'll try changing it when I get home later. Thanks.

                1 Reply Last reply Reply Quote 0
                • B
                  bad_patefa
                  last edited by

                  I thing have the same problem, try this:
                  @alltime:

                  One thing I might also add, we simply added our DNS server addresses to the Allowed IP list and that resolved our problem.
                  We were experiencing exactly what you are.

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