Skip to contentSkip to conversation

Redirect mark to some route

LARTC Nataniel Klug 1 participant 1 message Oct 19, 2005

lore
Share & tools
lore
#0 lore raw

Hello,

Here is what I want to do: I have a patch that make me able to mark package by its nature useing layer 7. So I use this line to mark a packge (i will use msnmessenger like example):

$IPT -t mangle -A POSTROUTING -m layer7 --l7proto msnmessenger -j MARK --set-mark 3001

Now I want that all packges with this mark get throu my gateway using the link at eth2 and all other packges use link at eth1. How can I do this?!

Att,

Nataniel Klug

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc