Navigation

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

    Captive Portal without Submit

    Captive Portal
    3
    4
    1823
    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.
    • T
      tj_itb last edited by

      Hi All,

      I have browsed the forum and could not find an alternative listed anywhere.  Here is my problem:

      We have a pfsense with Squid enabled captive portal.  The company wishes for its users to be redirected to one website before having access to the web.  HOWEVER, as the equipment will be going to many different countries they would like to get rid of the Legal Jargon / Submit button on the captive portal.

      I have tried putting JS in to the login page BODY to perform document.formname.submit() but this puts the page in to a loop rather than moving to the redirect.

      So to break it down:

      1: User joins LAN
      2: User starts browser of choice
      3: Redirect page flashes up automatically clicking Submit
      4: User specified web site shown

      Many thanks!!

      1 Reply Last reply Reply Quote 0
      • X
        XIII last edited by

        you need a submit button, it tells the firewall to allow access.

        -Chris Stutzman
        Sys0:2.0.1: AMD Sempron 140 @2.7 1024M RAM 100GHD
        Sys1:2.0.1: Intel P4 @2.66 1024M RAM 40GHD
        freedns.afraid.org - Free DNS dynamic DNS subdomain and domain hosting.
        Check out the pfSense Wiki

        1 Reply Last reply Reply Quote 0
        • T
          tj_itb last edited by

          I understand that the Submit button must be included on the Captive portal.  The question is not how to get rid of but rather automatically trigger it on page load without a loop of doom.

          1 Reply Last reply Reply Quote 0
          • E
            Efonnes last edited by

            When you tested it, did you manually go directly to the captive portal page or did you get redirected there when trying to access something else?  When you go there manually, it redirects to itself when you log in.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post