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

    Captive portal - Help

    Scheduled Pinned Locked Moved Captive Portal
    2 Posts 2 Posters 669 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.
    • A
      Arxondas
      last edited by

      Hello,

      I'm running 2.3.4-RELEASE-p1.  I have captive portal + Freeradius + Mysql
      to offer free internet to customers on a hotel after self registration.

      Everything works good…!!

      I have enable the option "Enable Pass-through MAC automatic additions"
      & "Enable Pass-through MAC automatic addition with username"
      & "Idle timeout (Minutes)" to 180 minutes.

      so our customers won't have to login again for all the time they are staying in our Hotel.

      I would like some help about 2 problems I have.

      First if I enable
      "Enable Pass-through MAC automatic additions"
      & "Enable Pass-through MAC automatic addition with username"
      the customer won't have to relogin which is good but I don't see any client
      in Status - Captive Portal.
      If i disable above rules I see everyone which is connected.

      Second
      Our customers staying maximum 15-20 days so
      I want to auto delete the mac entry of a customer after e.g. 1 month.
      Don't want to have thousands of entries in captive portal - mac's which are
      not usefull. In Services-captive portal - mac's there is no date or something
      so I can delete with safety the mac's of customers that have left.

      Is there any way to config these...

      Thanks

      1 Reply Last reply Reply Quote 0
      • S
        seanpearman
        last edited by

        You'll need to identify the user and cross reference to their booking to do this effectively.

        I've seen this setup before where a custom external page is used to:

        • user authenticates based on last name and room number
        • booking system inserts the required info to modified freerad e.g. room, last name, check in and out dates
        • freerad replies accept if it matches the criteria
        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.