Community discussions

MUM Europe 2020
 
Megateq
newbie
Topic Author
Posts: 38
Joined: Thu Jan 08, 2009 12:33 am
Location: Nigeria
Contact:

Allow user from 7pm - 6am on daily for a period of 1 month

Mon Jun 22, 2009 10:43 am

Kindly assist me on how allow some of my clients to have access to internet betwen the hours of 7pm till 6am on daily basis and for a period of 1 week or 1 month. Am using usemanager and hotspot on the same router machine.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6619
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Allow user from 7pm - 6am on daily for a period of 1 month

Mon Jun 22, 2009 1:33 pm

Currently it is not possible by HotSpot/User Manager to get 7PM-6AM, I believe this feature will be possible in new User Manager.

Use uptime-limit to set week or month as period for Internet usage.
To allow Internet from 7Pm - 6Am add /firewall filter rule to block traffic from customer network, when time is not 7Pm-6Am, use time option in the /ip firewall filter
 
Megateq
newbie
Topic Author
Posts: 38
Joined: Thu Jan 08, 2009 12:33 am
Location: Nigeria
Contact:

Re: Allow user from 7pm - 6am on daily for a period of 1 month

Mon Jun 22, 2009 5:01 pm

Thanks for the quickly reply, l will do so as you advised
 
User avatar
dunga
Member Candidate
Member Candidate
Posts: 254
Joined: Fri Jan 23, 2009 9:51 am
Location: Nigeria

Re: Allow user from 7pm - 6am on daily for a period of 1 month

Mon Nov 02, 2009 7:18 pm

Currently it is not possible by HotSpot/User Manager to get 7PM-6AM, I believe this feature will be possible in new User Manager.

Use uptime-limit to set week or month as period for Internet usage.
To allow Internet from 7Pm - 6Am add /firewall filter rule to block traffic from customer network, when time is not 7Pm-6Am, use time option in the /ip firewall filter
I am interested in the above issue. How will it be done in the firewall filter for the hotspot user.
 
fewi
Forum Guru
Forum Guru
Posts: 7734
Joined: Tue Aug 11, 2009 3:19 am

Re: Allow user from 7pm - 6am on daily for a period of 1 month

Mon Nov 02, 2009 7:31 pm

Like sergejs wrote, add a drop action with a time filter. What the rule exactly looks like depends on what your interfaces are called. Assuming the customers are behind interface 'inside', something like this should work:
/ip firewall filter add chain=forward action=drop in-interface=inside time=06:00:00-18:59:59,sun,mon,tue,wed,thu,fri,sat,sun
 
User avatar
dunga
Member Candidate
Member Candidate
Posts: 254
Joined: Fri Jan 23, 2009 9:51 am
Location: Nigeria

Re: Allow user from 7pm - 6am on daily for a period of 1 month

Tue Nov 03, 2009 12:30 pm

I thought this filter rule will allow all internet from the said period,but i am looking for some specific users alone not all of them. The issue i think will affect all users in the network
 
eneimi
Member
Member
Posts: 388
Joined: Sun Sep 09, 2007 12:55 pm

Re: Allow user from 7pm - 6am on daily for a period of 1 month

Tue Nov 03, 2009 7:47 pm

I thought this filter rule will allow all internet from the said period
No. This rule will disallow internet for the specified period. Just change the time period to suite your needs.
i am looking for some specific users alone not all of them
If one or two, specify source ip address (src-address=x.x.x.x), if more then create an address list and specify this address list in the rule (src-address-list=limited_users).
 
falcon
just joined
Posts: 24
Joined: Wed Oct 14, 2009 7:41 am

Re: Allow user from 7pm - 6am on daily for a period of 1 month

Thu Dec 31, 2009 2:28 pm

hi
this is very nice
but how can i make adress list ???
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6619
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Allow user from 7pm - 6am on daily for a period of 1 month

Thu Jan 07, 2010 11:53 am

Note, New User-Manager (user manager test) provides with profiles, where it is possible to configure time/day/month limitation.
 
Megateq
newbie
Topic Author
Posts: 38
Joined: Thu Jan 08, 2009 12:33 am
Location: Nigeria
Contact:

Re: Allow user from 7pm - 6am on daily for a period of 1 month

Fri Jan 08, 2010 8:01 am

Note, New User-Manager (user manager test) provides with profiles, where it is possible to configure time/day/month limitation.
thanks l will try it now. But did l need to uninstall the former one before installing the test package?
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6619
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Allow user from 7pm - 6am on daily for a period of 1 month

Fri Jan 08, 2010 12:04 pm

I would recommend to use test computer, where User Manager profiles tests are possible without client interruption.
If you want to try on the current computer, make backup of the current User-Manager,
- backup configuration of the router;
- export configuration of /tool user-manager
- database backup by /tool user-manager database
upload usermantest package and reboot the router.

Who is online

Users browsing this forum: MSN [Bot] and 6 guests