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

ISP uses captive portal

Scheduled Pinned Locked Moved General pfSense Questions
4 Posts 2 Posters 1.2k 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.
  • B
    BaNZ
    last edited by Oct 5, 2015, 4:37 PM

    My ISP uses captive portal to logon.  The wan connections gets a 109.x.x.x IP address with a gateway and a DNS server.

    My lan network is 192.168.1.1/24 and the dns server is 192.168.1.1

    On my computer when I first connect, I get a 192.168.1.2 IP address and a 192.168.1.1 DNS server. Normally when I open the browser, it should redirect the page to the captive portal page that my ISP uses on 109.x.x.x.

    But it doesn't, it just says page can't resolve. If I set the DNS on my computer manually to the ISP dns 109.x.x.x then it will do the redirection.

    DNS resolver in pfsense is enabled. What am I missing?

    1 Reply Last reply Reply Quote 0
    • H
      heper
      last edited by Oct 5, 2015, 4:47 PM

      dns resolver is enabled …. thats what you are missing =)

      Enable Forwarding Mode: Controls whether Unbound will query root servers directly (unchecked, disabled) or if queries will be forwarded to the upstream DNS servers defined under System > General or those obtained by DHCP/PPPoE/etc (checked, enabled). Forwarding mode may be enabled if the upstream DNS servers are trusted and also provide DNSSEC support. Forwarding mode is necessary for Multi-WAN Configurations.

      1 Reply Last reply Reply Quote 0
      • B
        BaNZ
        last edited by Oct 5, 2015, 5:31 PM

        The pfsense docs says in 2.2 dns forwarding has been replaced by dns resolver.

        I got it to work in dns resolver. I have to untick "Enable DNSSEC Support"

        This was stopping the redirection.

        Thanks!

        1 Reply Last reply Reply Quote 0
        • H
          heper
          last edited by Oct 5, 2015, 8:47 PM

          that could be it too.

          captiveportal redirects tend to mess with dns … dnssec tries to prevent messing with dns ;)

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received