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

    Use internet for free then captive portal ???

    Scheduled Pinned Locked Moved Captive Portal
    5 Posts 3 Posters 3.1k 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.
    • B
      backghost
      last edited by

      I have a server running on centos, with vmware and pfsense on it. i have my own php app on centos, which i use to create new users and make some reports, statistics. also i use freeradius on centos for auth and accounting. ok its works perfect.
      so , what i need?
      I want to provide all my clients free use of the Internet first hour, after this time of usage captive portal will popup, and say them they must enter valid user name and password. i think this might be done by MAC address, somthing like this:
      "If there is a MAC address in the database and total time of use less than an hour then let go pass throught captiv portal, else stops and asks for authorization".

      Thanks

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        Voucher could get close to it.

        Will not be That transparent But you can send client a one hour Voucher and then charge next one.

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by

          The "Pass-through credits allowed per MAC address" could potentially work for that. Only problem is you'd have to put a hard limit on all CP sessions equal to 1 hour to force users off after an hour for that to function. There isn't a great way to accomplish that without some custom development, you could hack it in to force only the pass-through credit users off within 1 hour. .

          1 Reply Last reply Reply Quote 0
          • B
            backghost
            last edited by

            @marcelloc:

            Voucher could get close to it.

            Will not be That transparent But you can send client a one hour Voucher and then charge next one.

            thanx for your time. i try with vouchers, but its not option, i update my pfsense to 2.0 , but its not helpful, i have two identical systems one live, and one for test,so its not problem to test anything ,and if you have any idea thanx again.
            i try find solution, and if i success i share it here.

            1 Reply Last reply Reply Quote 0
            • B
              backghost
              last edited by

              @cmb:

              The "Pass-through credits allowed per MAC address" could potentially work for that. Only problem is you'd have to put a hard limit on all CP sessions equal to 1 hour to force users off after an hour for that to function. There isn't a great way to accomplish that without some custom development, you could hack it in to force only the pass-through credit users off within 1 hour. .

              thanx, i try this but its not option. i work on this, and if you have more idea, i realy appreciate that.
              thanx agin

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