From: "Nataniel Klug" Date: Wed, 19 Oct 2005 15:27:22 +0000 Subject: [LARTC] Redirect mark to some route Message-Id: <002701c5d4c1$9a27bf80$57001eac@NATANIEL> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============0408201310==" List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. --===============0408201310== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0024_01C5D4B0.D65E8B20" This is a multi-part message in MIME format. ------=_NextPart_000_0024_01C5D4B0.D65E8B20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 ------=_NextPart_000_0024_01C5D4B0.D65E8B20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
    Hello,
 
    Here is what I want to do: I have = a patch=20 that make me able to mark package by its nature useing layer 7. So I use = this=20 line to mark a packge (i will use msnmessenger like = example):
 
$IPT -t mangle -A POSTROUTING -m layer7 --l7proto = msnmessenger=20 -j MARK --set-mark 3001
 
    Now I want that all packges with = this mark=20 get throu my gateway using the link at eth2 and all other packges use = link at=20 eth1. How can I do this?!
 
Att,
 
Nataniel Klug
------=_NextPart_000_0024_01C5D4B0.D65E8B20-- --===============0408201310== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============0408201310==--