Page 1 of 1

Mark connection

Posted: Tue Oct 30, 2007 1:10 am
by mambotech
Hi,

I am trying to mark a connection so I can mark route then use a routing policy. I have add the mangle rule but it's not marking anything ...I am not even see any traffic in mangle for this rule. I ran torch and the traffic showed up but it's not being marked ??

chain=prerouting action=mark-connection new-connection-mark=typo3
passthrough=no in-interface=ether1 dst-address=x.x.x.x

chain=prerouting action=mark-packet new-packet-mark=typo3_packet
passthrough=yes in-interface=ether1 connection-mark=typo3


Thanks Mark

Re: Mark connection

Posted: Tue Oct 30, 2007 1:12 am
by titius
that rule is not for routing mark

ACTION must be routing mark .

And then add route with marked routing mark.

Re: Mark connection

Posted: Tue Oct 30, 2007 1:21 am
by Chupaka
change passthrough=no to passthrough=yes