Community discussions

MikroTik App
 
User avatar
arnaldo
newbie
Topic Author
Posts: 45
Joined: Wed Sep 21, 2016 2:38 am
Location: localhost.localdomain

Passthrough in a mangle subchain

Fri Sep 08, 2023 4:45 pm

I'm looking for a definite answer for what happens when in a mangle subchain called from Prerouting:

- Mangle -> Prerouting -> ChainA

If a rule in ChainA matches and it has Passthrough = no, will it return to the main Prerouting chain or will break the Magle-Prerouting completely?
 
holvoetn
Forum Guru
Forum Guru
Posts: 6850
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Passthrough in a mangle subchain

Fri Sep 08, 2023 5:24 pm

from documentation
https://help.mikrotik.com/docs/display/ROS/Mangle
passthrough (yes|no; Default: yes) whether to let the packet to pass further (like action passthrough) into the firewall or not (property only valid some actions)
The way I understand passthrough=no will stop evaluating further filters (for that package) for the mangle process.

Here it is explained a bit better:
viewtopic.php?p=733485#p733485