Community discussions

MikroTik App
 
User avatar
tplecko
Member Candidate
Member Candidate
Topic Author
Posts: 120
Joined: Mon Jun 11, 2007 12:18 pm
Location: Croatia
Contact:

/nat firewall filter

Wed Aug 22, 2007 5:05 pm

does MT stop checking filter rules when it finds first rule that matches the packet? or, does it check the packet against all rules?
here is what i want

if time is between 0800 and 1600 then
go to next filter rule (and all other filter rules)
else
drop packet


thanks
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Re: /nat firewall filter

Wed Aug 22, 2007 8:26 pm

it performs the action when it's matched... if it's a jump or passthru it will keep going, otherwise that's probably the end.
 
User avatar
tplecko
Member Candidate
Member Candidate
Topic Author
Posts: 120
Joined: Mon Jun 11, 2007 12:18 pm
Location: Croatia
Contact:

Re: /nat firewall filter

Wed Aug 22, 2007 11:59 pm

mangle has checkbox that tell's MT to check packet against next rule...
filter does not... action can be passthrough... but then i can't accept or drop packet...
 
pedja
Long time Member
Long time Member
Posts: 684
Joined: Sat Feb 26, 2005 5:37 am

Re: /nat firewall filter

Thu Aug 23, 2007 5:01 pm

You have chains for that. Create chain of filter rules and in main chain just jump in your custom chain when you have a match.

Who is online

Users browsing this forum: No registered users and 16 guests