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

    Captive Portal with Closed Message

    Scheduled Pinned Locked Moved Expired/Withdrawn Bounties
    6 Posts 4 Posters 5.7k 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.
    • D
      Dovermen
      last edited by

      I have been pursuing a Captive Portal solution that will do the following for a local network with Internet open to customers.  The captive portal prevents Internet access while the business is closed and instead redirects all web page requests to a closed message.  The captive portal prevents Internet access while the business is open until Terms of Use have been accepted in a web page.

      The Captive Portal prevents Internet access until continuing pass the Terms of Use web page.

      The Captive Portal needs the ability to setup the business hours each day of the week to redirect all web page requests to a closed message.  The Captive Portal needs to disconnect active sessions when the business closes.  This helps encourage customers to stop browsing right as the business closes and leave so that staff can close.  The closed message would prevent Internet access and explaining to the customer that the business is closed no intervening from the staff.  The wired ports and wireless access points would not need to be manually turned off each day.  There is no need for authentication in this scenario.  The network needs to be open to any customer.

      Price to be determined

      1 Reply Last reply Reply Quote 0
      • M
        mdouglas
        last edited by

        What Captive Portal are you wanting to use?  I am currently working on another bounty using CoovaChilli as the capitive portal.  Certainly it is possible to terminate all connections at a certain time of day, then forward all further requests to the CP to a "offline" page.  Is this what you are wanting?  What is your budget?

        1 Reply Last reply Reply Quote 0
        • D
          Dovermen
          last edited by

          Using a generic PC I have experiment with the Captive Portal service included.  Yes, the Captive Portal needs a schedule for each day of the week to disconnect all active sessions and redirect further requests.  There is no need for authentication.  To be determined price opening with 100-500 USD.

          1 Reply Last reply Reply Quote 0
          • A
            abumuhammed
            last edited by

            i have a cyber cafe business and i give connection to night time customers . its a paid in the xxx to keep remembering to switch them on and off. sometime the guys i work for forget to switch them on in the morning and they endup using all my bandwidth. can captive portal give access to certain ips or mac address at either 24/7 or at certain times in the day. im ready with i cash i need this feature bad and i think it is similar to what this other geezer wants. so we can share ,

            1 Reply Last reply Reply Quote 0
            • H
              hoba
              last edited by

              You can whitelist IPs and Macadresses that won't hit the CP. Check out services>captive portal, passthrough MACs and allowed IPs.

              1 Reply Last reply Reply Quote 0
              • D
                Dovermen
                last edited by

                I have since found a way to do what I needed.  I am using the available FreeRADIUS package.  The FreeRADIUS service features an online time for each user.  The Captive Portal service authenticates with the local FreeRADIUS service, and then authenticates connected users every minute to determine disconnects.  The portal page has the welcome and terms.  The authentication error page has a close message.  My intent was a network open to any customer during business hours, so I crafted the portal page accept button to authenticate without typing the username and password.

                This has been implemented since mid-January at two sites, pfSense functions well in this manner.  Thanks to the development team.  Also thanks to community members who contributed to the FreeRADIUS package.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.