How can I limit internet access based on time limit

Sam16

Reputable
Dec 9, 2014
7
0
4,510
I want to restrict the access of my wifi router after user have exceeded a certain time limit.

For example I want to give user access for 1 hour and after that user must request back to access the internet.

These users will be random people and I cannot ask them to change/modify any setting on their systems/mobile phones.

Thanks
 

Sam16

Reputable
Dec 9, 2014
7
0
4,510
Wanted to add one more thing. Because we have many stations many of them have routers of different company (dlink,netgear etc) I was looking for a solution that is not based on a specific router company
 

Sam16

Reputable
Dec 9, 2014
7
0
4,510
We can create a server in between router and clients. So that all the packets will go through a software on this server and the software will check for all conditions. But to implement this system we cannot modify client's system settings.

Can you suggest some method so that this could be implemented
 

Vudue Priest

Honorable
Dec 31, 2013
248
0
10,710
Open mesh is a good one ive seen used. Does require equipment purchase. But otherwise easy and self maintaining.

An open source with corperate support options ( for a price)
would be something like untangle. Not too familiar with it personally. But i new a small shop back home that used it in my college town.

Honestly other than that i am not sure how to do that without using a server to issue ip address' and the track the time before it rescinds the ip or renews it. Not entirely sure what libraries use but that would be ideal.
 

Sam16

Reputable
Dec 9, 2014
7
0
4,510
Open mesh is a bit more for what we are looking. I think there is a confusion here, There will no be multiple routers.

Only thing is we cannot be sure which company's router will be used. Other then that it is a simple setup where a router is used to transmit wifi to multiple devices just like a small office with random devices and we need a software which will be installed in a computer and that software will restrict the network access.
 

Sam16

Reputable
Dec 9, 2014
7
0
4,510
I was searching and found out a software naming CCProxy. I think this can be used for my requirement but there is still one problem that I have to configure proxy ip address on the client before I can use it.

Is there a way to force user to use proxy without modifying anything on the client's system?

I have this kind on system used on many places. Please suggest.

Thanks
 
You are really in a bind....you want to implement this but you can not change the network or the end clients. Pretty much says it can't be done since those are the only ways to accomplish this.

Now you to a point can place servers in the network to do lots of things but you have in this case just in effect replaced your router with a server.

So you have pretty much 2 options.

1. You buy a standard router for each site that has the feature you need.
2. You buy a server and a AP and use site router. You must disable the wireless on the site router and use the AP for that function.
Your connection will be internet-----siterouter---new server---AP.

If you allow wireless on the site router the users can by pass restrictions.


With a inline server solution you can use one of the many free firewall software line pfsense or many other to accomplish what you want.


.....Really there is no way to use a proxy without client settings. You could block port 80 and 443 for everyone except the proxy and then the users would be forced to configure their devices. On a corporate network these settings are pushed via group policy but that does not work for phones/pad devices. It can also be done with a very advanced router using a function called WCCP but again you would need a standard router at all the locations.
 

Vudue Priest

Honorable
Dec 31, 2013
248
0
10,710
not sure how to configure it but you could setup a captive portal from a server running chilispot, but youd need a web server like apache and then a radius server like freeradius.

im starting to venture outside of my wheel house... but i hope this gets you at least pointed in the right direction.
 

Sam16

Reputable
Dec 9, 2014
7
0
4,510
I am looking Into captive portal, But one thing crossed my mind what if I connect the laptop to router, enable its wifi hotspot and then restrict all the devices connected to that hotspot. Will that work? I know this is very cheap workaround, But we will have something till we standardize all the routers
 

Vudue Priest

Honorable
Dec 31, 2013
248
0
10,710
I would be hesitant to do that with a personal or business laptop because it opens the system up to invasion by 3rd parties. On top of that I cannot think of a way of managing time limits based on IP addresses for a "hotspot" setup.
 

Sam16

Reputable
Dec 9, 2014
7
0
4,510
I was looking into pfSense a captive portal. And it looks like captive portal also requires a access point. I think bill001g is right those are the two only solution over here.