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

    Captive Portal Redirect url

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    10 Posts 4 Posters 8.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.
    • S
      SpiK369
      last edited by

      I use the last snapshoshot released pfSense-Full-Update-2.0-BETA4-20100910-0452.tgz with these service installed:
      squid (trasparent)+squidguard+captive portal with voucher

      the cp redirect after inserted a valid voucher it doesn't work.

      I follow all other suggestion:

      insert a specific firewall rules:
      from lan wifi  –> 127.0.0.1 any any
      from 127.0.0.1 --> lan wifi any any

      from lan wifi --> lan wifi any any

      insert a rule in /etc/inc/filter.inc

      but the result has been the same.

      In the firewall log menu there are a lot of deny like:

      Sep 11 00:42:06  WIFI    127.0.0.1:80    192.168.20.198:2752  TCP:FA

      but these should be match with the rule insert manually.

      Sorry for my english

      Regards

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        This is a known issue. Disable squid and the redirect works.

        http://redmine.pfsense.org/issues/868

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • S
          SpiK369
          last edited by

          But I use proxy squid with squidguard, if follow your suggestion (disable squid), couldn't I use squidguard right?

          When this issue should be fixed?

          Aren't there  any workaround with some manually configuration?

          Sorry for my english

          Regards

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            There is no ETA, it's just on the list of known issues.

            There is a workaround in the ticket, but I haven't tried it.

            Just keep watching the ticket and any updates will happen there when a fix is found.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • K
              kyutums
              last edited by

              Um, even without Squid, the redirect doesn't work for me. I'm using 2.0-BETA4 built on Sun Aug 8 10:20:52 EDT 2010

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                @kyutums:

                Um, even without Squid, the redirect doesn't work for me. I'm using 2.0-BETA4 built on Sun Aug 8 10:20:52 EDT 2010

                Update and try again. That's ancient in terms of snapshots, a bug report on anything but a current snapshot isn't really helpful.

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • K
                  kyutums
                  last edited by

                  Tried again using 2.0-BETA4  (i386) built on Mon Sep 13 08:05:00 EDT 2010. Redirection for CP still doesn't work.

                  1 Reply Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    @kyutums:

                    Tried again using 2.0-BETA4  (i386) built on Mon Sep 13 08:05:00 EDT 2010. Redirection for CP still doesn't work.

                    Not to be pedantic but your problem without squid isn't relevant to this thread, too. This poster's issue was with squid. If you don't have squid, it's a different issue, and needs a different thread.

                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

                    1 Reply Last reply Reply Quote 0
                    • K
                      kyutums
                      last edited by

                      Not to be pedantic but your problem without squid isn't relevant to this thread, too. This poster's issue was with squid. If you don't have squid, it's a different issue, and needs a different thread.

                      Agree. Started a new thread. :)

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

                        Edit the following line in /usr/local/captiveportal/index.php
                        $ourhostname = „{$ifip}:8000“; ändern in $ourhostname = „<ip pfsense="">:8000“;</ip>

                        This work around doesn't work…

                        captive portal + transparent proxy
                        2.0-BETA4 (i386)
                        built on Sun Sep 26 20:34:55 EDT 2010
                        FreeBSD 8.1-RELEASE-p1

                        add bold text in```
                        /usr/local/captiveportal/index.php

                        header("Expires: 0");
                        header("Cache-Control: no-store, no-cache, must-revalidate");
                        header("Cache-Control: post-check=0, pre-check=0", false);
                        header("Pragma: no-cache");
                        **header("Connection: close");**
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.