The pfSense Store

Author Topic: Time Based Access using Captive Portal  (Read 567 times)

0 Members and 1 Guest are viewing this topic.

Offline networkinggeek

  • Jr. Member
  • **
  • Posts: 79
  • Karma: +0/-0
    • View Profile
Time Based Access using Captive Portal
« on: August 24, 2014, 03:18:37 am »
Hello Forum,
I am using the captive portal option for the first time and just wanted to know is it possible to provide time based internet access using captive portal and with the use of RADIUS server?
"Mastery isn't a natural gift. Its a daily devotion"

Offline networkinggeek

  • Jr. Member
  • **
  • Posts: 79
  • Karma: +0/-0
    • View Profile
Re: Time Based Access using Captive Portal
« Reply #1 on: September 06, 2014, 12:16:42 am »
Any ideas or suggestions regarding the question posted will be appreciated
"Mastery isn't a natural gift. Its a daily devotion"

Offline GS850L

  • Jr. Member
  • **
  • Posts: 39
  • Karma: +1/-0
    • View Profile
Re: Time Based Access using Captive Portal
« Reply #2 on: September 06, 2014, 12:37:07 pm »
Could you elaborate on "time based internet access"...?

Andy

Offline dpa

  • Jr. Member
  • **
  • Posts: 34
  • Karma: +6/-0
    • View Profile
Re: Time Based Access using Captive Portal
« Reply #3 on: September 07, 2014, 11:31:00 am »
Isn't CP already time based?

Offline GS850L

  • Jr. Member
  • **
  • Posts: 39
  • Karma: +1/-0
    • View Profile
Re: Time Based Access using Captive Portal
« Reply #4 on: September 07, 2014, 09:24:57 pm »
I was wondering if the op wanted a scheduler or a count down like vouchers...captive portal by itself isn't "time based".

Offline networkinggeek

  • Jr. Member
  • **
  • Posts: 79
  • Karma: +0/-0
    • View Profile
Re: Time Based Access using Captive Portal
« Reply #5 on: September 07, 2014, 11:25:13 pm »
Could you elaborate on "time based internet access"...?

Andy

For example consider their are two employees user1 and user2
user1 should have internet access from 10am to 10pm
user2 should have internet access from 10am to 6pm
If user2 tries to login after 6pm he should not get access to the internet.
Is it possible to provide to access based on the above scenario?
"Mastery isn't a natural gift. Its a daily devotion"

Offline mendilli

  • Full Member
  • ***
  • Posts: 135
  • Karma: +13/-0
    • View Profile
Re: Time Based Access using Captive Portal
« Reply #6 on: September 08, 2014, 05:33:14 am »
I think it can be done by freeradius or squidguard timebased fitering via captiveportal authentication feature in squid3-dev

Offline networkinggeek

  • Jr. Member
  • **
  • Posts: 79
  • Karma: +0/-0
    • View Profile
Re: Time Based Access using Captive Portal
« Reply #7 on: September 08, 2014, 07:58:28 am »
I think it can be done by freeradius or squidguard timebased fitering via captiveportal authentication feature in squid3-dev

I am aware about squid3-dev package and yes, their is an option for time-based access.
Whether it is possible only with captive portal and radius server? Without using squid3-dev
"Mastery isn't a natural gift. Its a daily devotion"

Offline demco

  • Jr. Member
  • **
  • Posts: 30
  • Karma: +3/-0
    • View Profile
Re: Time Based Access using Captive Portal
« Reply #8 on: September 08, 2014, 09:20:46 am »
networkinggeek,

Radius server allow you to set the time period user are permitted to login.

For freeradius, you set Login-Time attribute to the appropriate time period for your particular user, each user can be assign different range. Logging in outside of this period and user will be rejected.

It works on native freeradius, the pfsense package should have this feature.