Use internet for free then captive portal ???



  • 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



  • 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.



  • 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. .



  • @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.



  • @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


Locked