Community discussions

MikroTik App
 
someone2
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 90
Joined: Sun Jan 07, 2018 9:52 pm

Mangle or firewall rule

Mon Apr 12, 2021 7:47 pm

I'm going to restrict access to a specific destinations based on source Mac address. I have two solution.
1. using mangle for marking connections and Policy Base Routing
2. Restrict access with some firewall rule and without mangle and Policy Base Routing
Which one is better?
Which one is more resource intensive?
Which one is suitable for rb450 or rb750 routers( routers with one core cpu)?
 
msatter
Forum Guru
Forum Guru
Posts: 2897
Joined: Tue Feb 18, 2014 12:56 am
Location: Netherlands / Nīderlande

Re: Mangle or firewall rule

Mon Apr 12, 2021 8:03 pm

If you use RAW the cost would be the lowest.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 18958
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Mangle or firewall rule

Mon Apr 12, 2021 9:37 pm

I'm going to restrict access to a specific destinations based on source Mac address. I have two solution.
1. using mangle for marking connections and Policy Base Routing
2. Restrict access with some firewall rule and without mangle and Policy Base Routing
Which one is better?
Which one is more resource intensive?
Which one is suitable for rb450 or rb750 routers( routers with one core cpu)?
Raw has unintended consequences if used improperly so get advice before implementing.
Mangle would eat up core I think more than a firewall rule.

What is the issue that you are trying to prevent??? that is the more important question to answer and will get you more optimal answers.

Who is online

Users browsing this forum: adimihaix, Bing [Bot], coreshock, rplant and 72 guests