Community discussions

MikroTik App
 
outlawjhs
just joined
Topic Author
Posts: 11
Joined: Wed Jan 27, 2010 3:22 pm

Limit Client to 2 hour DHCP lease per 8 hours

Mon Feb 02, 2015 4:24 pm

Hello,

I have a public wifi location that would like to have users limited to 2 hours of internet access for every 8 hours. They do not want a portal page. Is there a way to script this by using DHCP leases? I was trying to figure it out but have no experience with routeros scripting. This site has a RB750. Something with a blacklist with time around removing it might work.

Thank you

James
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: Limit Client to 2 hour DHCP lease per 8 hours

Mon Feb 02, 2015 6:32 pm

You should use hotspot.
 
outlawjhs
just joined
Topic Author
Posts: 11
Joined: Wed Jan 27, 2010 3:22 pm

Re: Limit Client to 2 hour DHCP lease per 8 hours

Mon Feb 02, 2015 8:56 pm

Yeah that is what I thought was needed. That would involve a portal page.

Thank you

James