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

    help

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    29 Posts 9 Posters 3.8k 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.
    • JokkerUCFJ
      JokkerUCF
      last edited by

      hello friends I have a problem because I have a computer with two interfaces the WAN and the LAN because in the WAN I do not have the RJ45 cable even with internet access, what I wish to do is the following, redirect all DNS requests to the captive portal , I clarify that physical addresses such as 1.1.1.1 redirect without problems but when I run www.google.com I just get an error and do not redirect to the portal page

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        That is because the captive portal only redirects web requests and if clients do not have DNS they cannot resolve URLs to get an IP to make a web request.
        https://www.netgate.com/docs/pfsense/captiveportal/captive-portal-troubleshooting.html#captive-portal-not-redirecting

        You will need to have a DNS override configured that resolves any URL to some IP that gets redirected. That is not something I have ever attempted. But this would appear to work in the DNS resolver custom options:

        server:
        local-zone: "." redirect
        local-data: ". A 192.168.1.1"
        

        Or use a real IP that is reachable there maybe.
        That would mean clients can't resolve anything though which might defeat the purpose of what you're doing....

        Steve

        1 Reply Last reply Reply Quote 0
        • JokkerUCFJ
          JokkerUCF
          last edited by

          hi friends i need show this messenger in my portal
          0_1537822008260_peticion p cautivo.png

          JokkerUCFJ 1 Reply Last reply Reply Quote 0
          • JokkerUCFJ
            JokkerUCF @JokkerUCF
            last edited by

            @jokkerucf said in help:

            hi friends i need show this messenger in my portal
            0_1537822008260_peticion p cautivo.png

            the picture say that (you must log in to the network before you can access the internet) i need loock that in my portal

            JokkerUCFJ 1 Reply Last reply Reply Quote 0
            • JokkerUCFJ
              JokkerUCF @JokkerUCF
              last edited by

              @jokkerucf said in help:

              @jokkerucf said in help:

              hi friends i need show this messenger in my portal
              0_1537822008260_peticion p cautivo.png

              the picture say that (you must log in to the network before you can access the internet) i need loock that in my portal

              -----I have already published it in perfect English according to the message of the captive portal of the public WiFi network of my country, I need to issue that same message in the browsers of my portal

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by

                If you need help with portal, you should be in the captive portal section.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                JokkerUCFJ 2 Replies Last reply Reply Quote 0
                • JokkerUCFJ
                  JokkerUCF @johnpoz
                  last edited by

                  @johnpoz yes i have in this moment at the cative portal

                  1 Reply Last reply Reply Quote 0
                  • JokkerUCFJ
                    JokkerUCF @johnpoz
                    last edited by

                    @johnpoz said in help:

                    If you need help with portal, you should be in the captive portal section.

                    where I find this session

                    1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator
                      last edited by

                      https://forum.netgate.com/category/3/captive-portal

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

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