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

    Multiple captive portal services although only one defined

    Scheduled Pinned Locked Moved Captive Portal
    3 Posts 3 Posters 655 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.
    • W
      wahmed
      last edited by

      I have only one zone called "intranet" defined.  But there are several instances of captive portal running.  These appear under "Services" and i have to manully stop them and only leave intranet running.  When i take a backup, i can only see "intranet" in the file.  How can i troubleshoot what is going on and get rid of these extraneous services.

      Captive portal: d
      Captive Portal: l
      Captive Portal: w
      Captive Portal: d
      Captive Portal: 2
      Captive Portal: 1
      Captive Portal: 1
      Captive Portal: l
      Captive Portal: 6
      Captive Portal: Intranet

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        Hi.

        Your config.xml is somewhat messed up.

        Open backup (XML) file - look for the <captiveportal>….</captiveportal> section.
        In there you will find multiple <cpzone>.....</cpzone> sections.
        Wipe all of them, except the one that defines your "Intranet" section.

        Restore this file - and restart pfSEnse.

        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
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          It's also possible a captive portal config section was imported from 2.0.x or before into 2.1 and not a whole config. That will happen if the configuration wasn't properly migrated to the zone structure. It may need the entire <captiveportal>section removed (or at least anything outside of the cpzone tags)</captiveportal>

          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
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.