Community discussions

MikroTik App
 
User avatar
futureraju
just joined
Topic Author
Posts: 22
Joined: Sat Apr 09, 2005 9:58 am
Location: Chittagong,Bangladesh
Contact:

How to schedule by winbox ?

Tue Aug 16, 2005 10:29 pm

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.
 
User avatar
karlisi
Member
Member
Posts: 475
Joined: Mon May 31, 2004 8:09 am
Location: Latvia

Wed Aug 17, 2005 7:18 am

Perhaps two schedules - 0am to 10am and 10pm to 12pm
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Wed Aug 17, 2005 8:19 am

Use 2.9 version, time option can be executed to each firewall rule,
you do not need schedule.
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Wed Aug 17, 2005 8:37 am

Can you say not (!) between 10am and 10pm?

Sam
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Wed Aug 17, 2005 8:47 am

If not between 10am and 10pm
make drop rule, with desired requirements :wink:
 
User avatar
futureraju
just joined
Topic Author
Posts: 22
Joined: Sat Apr 09, 2005 9:58 am
Location: Chittagong,Bangladesh
Contact:

Mon Aug 22, 2005 9:23 pm

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.
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Mon Aug 22, 2005 9:28 pm

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.
 
User avatar
futureraju
just joined
Topic Author
Posts: 22
Joined: Sat Apr 09, 2005 9:58 am
Location: Chittagong,Bangladesh
Contact:

Mon Aug 22, 2005 10:14 pm

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? :?
 
User avatar
lastguru
Member
Member
Posts: 432
Joined: Fri May 28, 2004 9:04 pm
Location: Certified Trainer/Consultant in Riga, Latvia
Contact:

Tue Aug 23, 2005 3:42 pm

cant you make two rules: one 10pm-12pm, second from 12pm to 10am?
 
User avatar
futureraju
just joined
Topic Author
Posts: 22
Joined: Sat Apr 09, 2005 9:58 am
Location: Chittagong,Bangladesh
Contact:

Thu Aug 25, 2005 4:48 pm

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?
 
User avatar
lastguru
Member
Member
Posts: 432
Joined: Fri May 28, 2004 9:04 pm
Location: Certified Trainer/Consultant in Riga, Latvia
Contact:

Thu Aug 25, 2005 6:59 pm

can't you just put them sequentially one after another?
 
User avatar
futureraju
just joined
Topic Author
Posts: 22
Joined: Sat Apr 09, 2005 9:58 am
Location: Chittagong,Bangladesh
Contact:

Mon Aug 29, 2005 9:15 pm

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. :(
 
akmjahangir
newbie
Posts: 48
Joined: Sun Aug 10, 2008 8:27 pm
Location: Dhaka, Bangladesh
Contact:

Re: How to schedule by winbox ?

Tue Jun 23, 2009 11:59 am

Hello futureraju,
I am from Dhaka, Bangladesh.
Call me: 01819231755.
I shall try to solve your problem