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

    Captive Portal Login Link

    Captive Portal
    2
    4
    2.4k
    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.
    • E
      Earthlingz
      last edited by

      Hello. Before my update from 2.2 to 2.3 the link was just http://192.168.1.1:8002/ but after it becomes http://192.168.1.1:8002/index.php?zone=LAN

      How can i remove the zone parameter in my captive portal login link?

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

        You shouldn't.

        These parameters, like "?zone=LAN" instructs pfSense which zone is being used by the client.
        Remember : pfSense can have multiple zones and without the ?zone variable you'll be creating a syntax error.

        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
        • E
          Earthlingz
          last edited by

          Just a suggestion… zone should be optional if you only set 1 zone

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

            It's retrieved here https://github.com/pfsense/pfsense/blob/master/src/usr/local/captiveportal/index.php#L39
            Up to you to 'hard code' it ;)

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