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

    Captive portal on same firewall as webserver

    Scheduled Pinned Locked Moved Captive Portal
    8 Posts 3 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.
    • L Offline
      librarymark
      last edited by

      Hello -

      I want to install a pfsense captive portal in the library where I work. We are currently using ZoneCD but it seems that I have to reboot it a lot lately. It's on a really old box.

      Our pfsense firewall (which has been working great, BTW) has 3 ports, WAN, LAN, and one to go to our public wireless access points. The webserver for our homepage is in our LAN, with NAT out to one of our public IP addresses. The captive portal works great, however, it can't seem to redirect to the NAT-ed public IP of our web server to redirect folks to our home page. It works when I put in the LAN IP address of the web server, but I really don't want to do that.

      What am I missing? Should the captive portal go on its own box?

      Thanks -

      Library Mark

      1 Reply Last reply Reply Quote 0
      • L Offline
        librarymark
        last edited by

        OOPS - forgot to mention, I am using openDNS's DNS servers on the portal, if that makes any difference.

        1 Reply Last reply Reply Quote 0
        • A Offline
          azmihamzah
          last edited by

          you'll need to portforward the internal ip of your webserver at the desired port (port 80).

          Portforward function is at Firewall>NAT

          1 Reply Last reply Reply Quote 0
          • L Offline
            librarymark
            last edited by

            I'm doing that already. That is how our webserver is made available to the web.

            1 Reply Last reply Reply Quote 0
            • GruensFroeschliG Offline
              GruensFroeschli
              last edited by

              http://forum.pfsense.org/index.php/topic,7001.0.html
              Enable NAT reflection.

              We do what we must, because we can.

              Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

              1 Reply Last reply Reply Quote 0
              • L Offline
                librarymark
                last edited by

                Are you insinuating that I could have found an answer if I had searched? I did.  If I had known that it was called nat reflection, then I might have been able to find it.

                Thanks, I guess.

                1 Reply Last reply Reply Quote 0
                • GruensFroeschliG Offline
                  GruensFroeschli
                  last edited by

                  I didnt say anything  :D
                  Just the solution to your problem ;)

                  We do what we must, because we can.

                  Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    librarymark
                    last edited by

                    Oh - OK.

                    After being smacked down on the contribs.org forums so many times, I guess that I am just a little defensive.

                    Thanks again -

                    Library Mark

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