Page 1 of 1

How to schedule by winbox ?

Posted: Tue Aug 16, 2005 10:29 pm
by futureraju
I want to give access some of my static Ip Clint to access internet form 10pm to 10am.
In winbox 10am to 10pm works correctly.
But 10pm to 10am it doesn’t work.
Show a massage “Couldn’t change firewall rules, Start time is bigger then end time”

Can anyone help me. How can I forward some static Ip everyday 10pm to 10am by winbox. I am using 2.9 RC10.

Posted: Wed Aug 17, 2005 7:18 am
by karlisi
Perhaps two schedules - 0am to 10am and 10pm to 12pm

Posted: Wed Aug 17, 2005 8:19 am
by sergejs
Use 2.9 version, time option can be executed to each firewall rule,
you do not need schedule.

Posted: Wed Aug 17, 2005 8:37 am
by changeip
Can you say not (!) between 10am and 10pm?

Sam

Posted: Wed Aug 17, 2005 8:47 am
by sergejs
If not between 10am and 10pm
make drop rule, with desired requirements :wink:

Posted: Mon Aug 22, 2005 9:23 pm
by futureraju
I am using 2.9 RC10. I already tried what u said. But nothing i can do. I need the exact 10pm to 10am schedual. Cause *In firewall rule i cannot make 2 schedual for the same ip. * I cant use not (!) options because reason. * If i use drop rule it only drops some packet. Cause i already use in forward rules accept. Now i tell my condition.

I have 100( approx) clint. I use static ip for all. I only wants my desire mac address with desire Ip to access 24hours net connection. I want 20 (approx) clints to use net connection only form 10pm-10am. Now i set these rules in winbox......
Action: accept, Chain: forward, Src.address: 192.168.51.10, In interface: Local, Out interface: Public
Action: accept, Chain: forward, Src.address: 192.168.51.11, In interface: Local, Out interface: Public
Action: accept, Chain: forward, Src.address: 192.168.51.XX, In interface: Local, Out interface: Public

Action: drop, Chain: forward, Src.address: 192.168.51.0/24, In interface: Local, Out interface: Public
I set firewall rules for each ip i want to open for 24 hours, then drop all ip form my local interface. Now can anyone tell me how to open some ip only for 10pm-10am. Here firewall rules 10pm-10am is not working. If i use drop rules in firewall rules for that ip, it dosent work. Cause i cann't accept and drop same ip at the same time. Please help me to schedule in firewall rules for each ip for 10pm-10am. Thanks.

Posted: Mon Aug 22, 2005 9:28 pm
by changeip
If not between 10am and 10pm
make drop rule, with desired requirements :wink:
I just looked at 2.9 syntax. The TIME option does not allow NOT.

ip firewall filter> set 37 time=!10h-22h,sat,fri,thu,wed,tue,mon,sun
invalid time value for argument start

I guess maybe this should be added so that you can use hours that go over days.

Posted: Mon Aug 22, 2005 10:14 pm
by futureraju
ip firewall filter> set 37 time=!10h-22h,sat,fri,thu,wed,tue,mon,sun
invalid time value for argument start
How can i use these coding in winbox ? Can u write with my way. So i can understand. :)
I use time option in winbox
Time: 10:00, 22:00,
sat,fri,thu,wed,tue,mon,sun ( all boxed is cheaked)

This will allow that ip to accesee 10am-10pm. I cant find any not option. Where i can find not! option? :?

Posted: Tue Aug 23, 2005 3:42 pm
by lastguru
cant you make two rules: one 10pm-12pm, second from 12pm to 10am?

Posted: Thu Aug 25, 2005 4:48 pm
by futureraju
cant you make two rules: one 10pm-12pm, second from 12pm to 10am?
Can u plz show me how can i make two opposite rule for the same ip in the firewall rules?

Posted: Thu Aug 25, 2005 6:59 pm
by lastguru
can't you just put them sequentially one after another?

Posted: Mon Aug 29, 2005 9:15 pm
by futureraju
can't you just put them sequentially one after another?
In firewall rule i cannot make 2 schedual for the same ip. An error occured. Someone help me please. :(

Re: How to schedule by winbox ?

Posted: Tue Jun 23, 2009 11:59 am
by akmjahangir
Hello futureraju,
I am from Dhaka, Bangladesh.
Call me: 01819231755.
I shall try to solve your problem