From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alin Nonosel" Date: Mon, 23 Aug 2004 12:46:15 +0000 Subject: [LARTC] imq question Message-Id: <006801c48961$0bde7d60$195a09c2@alin> MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0065_01C48926.5F762F80" List-Id: References: In-Reply-To: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_0065_01C48926.5F762F80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi I've a stupid question. How can I shape upload using IMQ? Instead of putting a rule in iptables in PREROUTING should i use = POSTROUTING? And another question is, can I make routing rule based on ip addresses = assigned by iptables to an imq device? The idea is, let's say i have some rules in iptables like: -t mangle -A = PREROUTING -s 192.168.0.0/16 -j IMQ --todev 0 Can i route this class thru another ip, something like fwmark is doing? = with iptables marking the packets and ip rule fwmark? Best regards, Alin ------=_NextPart_000_0065_01C48926.5F762F80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi
 
I've a stupid question. How can I shape = upload=20 using IMQ?
Instead of putting a rule in iptables = in PREROUTING=20 should i use POSTROUTING?
And another question is, can I make = routing rule=20 based on ip addresses assigned by iptables to an imq device?
The idea = is,=20 let's say i have some rules in iptables like: -t mangle -A PREROUTING -s = 192.168.0.0/16 -j IMQ --todev 0
Can i route this class thru another ip, = something=20 like fwmark is doing? with iptables marking the packets and ip rule=20 fwmark?
 
Best regards,
Alin
 
------=_NextPart_000_0065_01C48926.5F762F80-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/