Community discussions

MikroTik App
 
markza
just joined
Topic Author
Posts: 9
Joined: Wed Oct 06, 2004 8:59 pm

quick packet marking question

Sun Oct 10, 2004 12:56 pm

Hello All,

Ive set up a bunch of passthrough mangle rules on top of my ruleset then below I have accept mangle rules that check if the rule has already been marked with the above passthrough rules then it re-marks it differently again. This does not work properly it completely ignores the flow= option. Below is what I did:

0 src-address=196.4.160.12/32 dst-address=196.34.165.145/32 action=passthrough mark-flow=local-down
1 src-address=196.34.165.145/32 dst-address=196.4.160.12/32 action=passthrough mark-flow=local-up
2 in-interface=ether1 dst-address=196.34.165.145/32 flow=!local-down action=accept mark-flow=blowfish-international-down
3 src-address=196.34.165.145/32 in-interface=vlan1 flow=!local-up action=accept mark-flow=blowfish-international-up
4 in-interface=ether1 dst-address=196.34.165.145/32 flow=local-down action=accept mark-flow=blowfish-local-down
5 src-address=196.34.165.145/32 in-interface=vlan1 flow=local-up action=accept mark-flow=blowfish-local-up

What am I doing wrong here?

Thanks alot!
Mark
 
User avatar
Roman
Frequent Visitor
Frequent Visitor
Posts: 81
Joined: Wed Oct 06, 2004 11:24 am

Mon Oct 11, 2004 3:23 pm

Try first marking connection (mark-connection) in first and second rule and then use connection= in other rules