From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrea Date: Tue, 12 Jun 2007 07:59:31 +0000 Subject: Re: [LARTC] Re: multiple routing tables for internal router programs Message-Id: <466E5263.2040602@gmail.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org > I was saying Andrea: Try to define a new routing table, add a chain in > mangle table for tagging packets and add a rule to deliver those packets > to the new route. > Again, I'm sorry. I didn't know this is a "english-only" list. Thanks for the reply. This is the exact way that I used for managing traffic of my lan towards ISPs. But is this mode still valid if I want to manage services executed directly in the router? this rule: iptables -t mangle -A PREROUTING -p tcp --dport 80 -j MARK --set-mark 1 capture all (web) traffic that crosses my router. Can I capture only the (web) traffic generated from my router and directed to internet? Anymore, I don't need it more: I've resolved my problem, the conflict between a "ping script" (that I'm writing for multiple gateway testing)and servers executed in router too: first version of my script sets a default gateway for testing it with ping, now I've discovered that I can use a specific route involving the gateway without setting default gateway, a much better solution. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc