Page1of1

can i set the using timing of any client from 12AM to 8AM

Posted:Sun Jul 06, 2008 1:35 am
byjwelebd
我want to set an ip block by which the user can use only at night from 12AM to 8AM.
我found timing in queue. but is it applicable for this purpose?

Re: can i set the using timing of any client from 12AM to 8AM

Posted:Sun Jul 06, 2008 9:33 am
byGiepie
Hi there

Yes, you could make use of a queue. Make sure the users you wish to limit at certain times come from the same source address or make use of address lists. Then setup a queue to limit those users at certain times to a much lower speed. It will not lock the users off completely, but you could use a very low speed eg 64kbps.

What exactly do you wish to accomplish?

Re: can i set the using timing of any client from 12AM to 8AM

Posted:Sun Jul 06, 2008 2:32 pm
byjwelebd
我want to stop fully for the rest of the time. They would get connected which time i only allow.

Re: can i set the using timing of any client from 12AM to 8AM

Posted:Sun Jul 06, 2008 3:41 pm
byGiepie
我n that case I would rather do the following:

Create an IP list under ip/firewall/addresslists which contain all the clients you wish to control's source IP's.

Then create a firewall rule which drops that addresslist (if the firewall rule is on, those IP's are blocked, if firewall rule is disabled, those IP's are not blocked)

Then create one script to only enable that firewall rule
Create another script to disable that firewall rule

Now create a schedule to run the ENABLE script at a certain time,
and another schedule to run the DISABLE script at another time

我f you need help writing those scripts, pop us a message:)

G

Re: can i set the using timing of any client from 12AM to 8AM

Posted:我07年7月,2008航班
byashish
Simple way,

The src-address must be having NAT rule.

Just set the Times in /ip firewall nat rule.

/ip firewall nat
set time=starttime-endtime-day