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

Captive Portal Status button does not display

Scheduled Pinned Locked Moved Captive Portal
18 Posts 3 Posters 2.0k 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
    swalz
    last edited by Mar 23, 2015, 8:54 AM

    The Captive Portal status should show up once the captive portal is enabled but it does not show?
    I can go to: https://FIREWALLIP/status_captiveportal.php
    and that displays the status page, but the button itself is missing?

    1 Reply Last reply Reply Quote 0
    • D
      doktornotor Banned
      last edited by Mar 23, 2015, 8:57 AM

      What button where? Post a screenshot.

      1 Reply Last reply Reply Quote 0
      • G
        Gertjan
        last edited by Mar 23, 2015, 8:59 AM

        A button is missing, ok.
        What button ? Why omitting the details ?

        Possible that you show us what you think that is missing ?

        Btw; if there is only ONE zone, there is NO list to select between zones.

        Capture-230.PNG
        Capture-230.PNG_thumb

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • S
          swalz
          last edited by Mar 23, 2015, 9:02 AM

          The status button is missing alltogether.
          See 2 screenshots below, one of a brand new install and one of an older install which has been updated over time.
          Captive portal is enabled on both installs

          ![Brand new install.jpg](/public/imported_attachments/1/Brand new install.jpg)
          ![Brand new install.jpg_thumb](/public/imported_attachments/1/Brand new install.jpg_thumb)
          ![older and upgraded install.jpg](/public/imported_attachments/1/older and upgraded install.jpg)
          ![older and upgraded install.jpg_thumb](/public/imported_attachments/1/older and upgraded install.jpg_thumb)

          1 Reply Last reply Reply Quote 0
          • S
            swalz
            last edited by Mar 23, 2015, 9:04 AM

            I haver taken another pic showing that captive portal is enabled but the button for the status is missing

            ![Missing button.jpg](/public/imported_attachments/1/Missing button.jpg)
            ![Missing button.jpg_thumb](/public/imported_attachments/1/Missing button.jpg_thumb)

            1 Reply Last reply Reply Quote 0
            • D
              doktornotor Banned
              last edited by Mar 23, 2015, 9:08 AM

              Uh. Menu item is not a button. Beyond that, cannot reproduce. What theme are you using?

              1 Reply Last reply Reply Quote 0
              • S
                swalz
                last edited by Mar 23, 2015, 9:09 AM

                Sorry OK the menu item is missing.

                1 Reply Last reply Reply Quote 0
                • G
                  Gertjan
                  last edited by Mar 23, 2015, 9:52 AM

                  I found 3 possibilities why the Captive Status Menu doesn't show up.

                  First: (/etc/inc/fbegin.inc - line 172) : If there are NO captive portal(s) defined in the $config, there is no Status menu Second : maybe you have forbidden the view of this page (check login user - and his rights)
                  Third  : Test this first: use another browser ! (or: flush you browser cache).

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  1 Reply Last reply Reply Quote 0
                  • S
                    swalz
                    last edited by Mar 23, 2015, 10:02 AM

                    Hi,
                    thanks for the suggestions,
                    I checked (etc/inc/fbegin.inc) but no such file exists?
                    I also checked the security settings and the user is set to have access to everything
                    I the flushed the browser and used a different browser as well but still no luck.

                    I tried to delete the captive portal and recreate it, and rebooted the firewall, but have the same results.

                    I am running version 2.1.5 so it is not the very latest one if this makes a difference?

                    ![File Structure.JPG](/public/imported_attachments/1/File Structure.JPG)
                    ![File Structure.JPG_thumb](/public/imported_attachments/1/File Structure.JPG_thumb)

                    1 Reply Last reply Reply Quote 0
                    • D
                      doktornotor Banned
                      last edited by Mar 23, 2015, 10:08 AM

                      @swalz:

                      I checked (etc/inc/fbegin.inc) but no such file exists?

                      It's **/**etc/inc/fbegin.inc. You need absolute path, not relative.

                      Regardless, try with admin, not some random account.

                      1 Reply Last reply Reply Quote 0
                      • S
                        swalz
                        last edited by Mar 23, 2015, 11:05 AM

                        Hi,
                        Sorry I am not a linux expert and might have written it wrong.
                        I checked (/etc/inc/fbegin.inc) and there is no such file.
                        I have attached 2 screenshots one from WINSCP and one from the command line
                        I am also using the admin user, I have no other users setup.

                        WINSCP.jpg
                        WINSCP.jpg_thumb
                        ![Command line List directory.jpg](/public/imported_attachments/1/Command line List directory.jpg)
                        ![Command line List directory.jpg_thumb](/public/imported_attachments/1/Command line List directory.jpg_thumb)

                        1 Reply Last reply Reply Quote 0
                        • D
                          doktornotor Banned
                          last edited by Mar 23, 2015, 11:14 AM Mar 23, 2015, 11:07 AM

                          The file is actually in /usr/local/www, not in /etc/inc. Regardless, I would suggest to reinstall your box.

                          1 Reply Last reply Reply Quote 0
                          • G
                            Gertjan
                            last edited by Mar 23, 2015, 11:54 AM

                            @swalz:

                            Hi,
                            Sorry I am not a linux expert and might have written it wrong.
                            I checked (/etc/inc/fbegin.inc) and there is no such file.
                            I have attached 2 screenshots one from WINSCP and one from the command line
                            I am also using the admin user, I have no other users setup.

                            Be careful : 'we' always presume that you use the SAME version as we do.
                            Version "2.1.5" is way back and you shouldn't hold that information back. Ours answers will be terrible wrong. With "2.1.5" support is simpler: upgrade, because 'we' (most of us, I guess) do not remember how things were done years ago ….
                            So, it's logic that you didn't find the file /etc/inc/fbegin.inc  (I mentioned this file so you can see how things are handled).

                            As said: reinstall, and please, forget about Windows 98 .... sorry, pfSense 2.1.5  ;)

                            No "help me" PM's please. Use the forum, the community will thank you.
                            Edit : and where are the logs ??

                            1 Reply Last reply Reply Quote 0
                            • S
                              swalz
                              last edited by Mar 24, 2015, 12:44 AM

                              Sorry I should have added that info straight from the start.
                              I have tried to upgrade and also newly install a 2.2 version, My problem is that I have an IPSec tunnel routing all traffic through the tunnel and the captive portal does not work if you have a tunnel as the interface is not reachable, therefore the captive portal page does not display.
                              Going from one issue into another.

                              1 Reply Last reply Reply Quote 0
                              • G
                                Gertjan
                                last edited by Mar 26, 2015, 7:40 AM Mar 26, 2015, 7:35 AM

                                2.2 or 2.2.1 ?

                                IPSEC was an issue before, or is it new ?

                                Captive portal is running on an dedicated (physical) interface like OPT1 (that you are routing through IPSEC) or the entire LAN is being put through IPSEC ?

                                I never tried such a setup, but I guess that if an interface is listed, in this case, the IPSEC interface, when creating a captive portal zone, it should work - everything else is a question of setting it up. When creating an interface, the default firewall rule block everything. What are your rules ?

                                edit: ah, more info is here : https://forum.pfsense.org/index.php?topic=91076.0

                                No "help me" PM's please. Use the forum, the community will thank you.
                                Edit : and where are the logs ??

                                1 Reply Last reply Reply Quote 0
                                • S
                                  swalz
                                  last edited by Mar 26, 2015, 7:46 AM

                                  Hi,
                                  I have tried this on 2.2.1
                                  I have an IPSec tunnel routing all traffic through the tunnel.
                                  This is working on 2.1 as there is a setkey rule to allow traffic going to the interface. But I cannot add this rule in 2.2.1 as Strongswan is not ready and not well developed to be used in such a firewall. There is next to no documentation about strongswan either.
                                  I can have the Captive Portal on the LAN or OPT1, on 2.1.5 it works both due to the setkey rule. ( both interfaces have all traffic routed through the IPSec tunnel)
                                  But on 2.2.1 this does not work as I cannot set these rules, therefore all traffic (including traffic addressed to the interface) are going through the IPSec tunnel and therefore the captive portal does not display or open.
                                  Bam no traffic possible.
                                  My firewall rules are set to allow anything from anywhere to anywhere any ports. (basically open for everything just to see if I can get the captive portal working)

                                  The IPSec tunnel is active before the Captive portal is created but when selecting an interface you can only Choose WAN, LAN, OPT1 and not the actual tunnel.

                                  Frustrating  :-\

                                  1 Reply Last reply Reply Quote 0
                                  • G
                                    Gertjan
                                    last edited by Mar 26, 2015, 7:52 AM

                                    Just an idea: what about 'pointing' the gateway of OPT1 (your captive portal interface) to the IPSEC interface ?

                                    No "help me" PM's please. Use the forum, the community will thank you.
                                    Edit : and where are the logs ??

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      swalz
                                      last edited by Mar 26, 2015, 7:54 AM

                                      IPsec is not really an interface, it is a VPN tunnel.
                                      The gateway in DHCP is the OPT1 interface. Everything after this is already routed into the tunnel, so there is nothing else I could use as Gateway.

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