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

    **Captive Portal External Web Page**

    Scheduled Pinned Locked Moved Captive Portal
    8 Posts 4 Posters 3.4k 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.
    • R
      rurbina
      last edited by

      Hi…
      I set up my pfsense 2.0 release with voucher and it works just fine. I want the clients of my small network be able to access an external web page (for example, google.com), in order to get a new voucher code when the one they had is already expired.
      Please, if anybody could just give me the tips to set up this requirement, i really would appreciate it...
      Thanks a lot

      1 Reply Last reply Reply Quote 0
      • W
        wallabybob
        last edited by

        See Services -> Captive Portal, click on Allowed IP Addresses

        1 Reply Last reply Reply Quote 0
        • D
          dhatz
          last edited by

          pfSense's CP "Allowed IP Addresses" feature will work with most websites, but it probably won't work very well with google.com (which the original poster asked for) due to Google NS constantly changing the IPs to which the www.google.com resolves.

          1 Reply Last reply Reply Quote 0
          • N
            Nachtfalke
            last edited by

            Did you try with:

            Services -> Captive Portal:

            "Pre-authentication redirect URL" ?

            1 Reply Last reply Reply Quote 0
            • W
              wallabybob
              last edited by

              @dhatz:

              pfSense's CP "Allowed IP Addresses" feature will work with most websites, but it probably won't work very well with google.com (which the original poster asked for) due to Google NS constantly changing the IPs to which the www.google.com resolves.

              Fair enough, but I suspect Google won't be issuing new Captive Portal voucher codes for a (private?) captive portal.

              1 Reply Last reply Reply Quote 0
              • R
                rurbina
                last edited by

                Thanks a lot!! I try Allowed Ip Addresses!!! it works just fine. Of course the site wont be google.com, it was just an example, but something like www.mysite.com, but i noticed it only works with the ip address rather than the domain mysite.com

                1 Reply Last reply Reply Quote 0
                • W
                  wallabybob
                  last edited by

                  @rurbina:

                  but i noticed it only works with the ip address rather than the domain mysite.com

                  That is probably why the tab is titled Allowed IP addresses rather than Allowed hosts.

                  1 Reply Last reply Reply Quote 0
                  • D
                    dhatz
                    last edited by

                    @wallabybob:

                    @dhatz:

                    pfSense's CP "Allowed IP Addresses" feature will work with most websites, but it probably won't work very well with google.com (which the original poster asked for) due to Google NS constantly changing the IPs to which the www.google.com resolves.

                    Fair enough, but I suspect Google won't be issuing new Captive Portal voucher codes for a (private?) captive portal.

                    LOL, true, however I mentioned it because the issue of constantly changing IPs comes up with other Google websites, like Google Analytics, which people might want to use in a CP context.

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