From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paco Brufal Date: Thu, 21 Nov 2002 18:28:45 +0000 Subject: Re: [LARTC] routing to two interfaces Message-Id: 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 On nov/20/2002, Martin A. Brown wrote: > Good luck, Paco. I'd suggest returning here if you have specific troubles > after you have digested these, and understand how they can help solve your > current problem. OK, I read what you suggested me, and the documents didn't answer my question, but they gave me some ideas, and now all is working like I want :) I have the luck that each service in the internal network has it own IP, then I set up some iptables rules to redirect (via DNAT) the external packets to internal servers. Then, in the router box, I set up routing tables based on source hosts (the internal servers). When a packet arrives from 10.10.10.2 (DNS), route it via eth1, if packet comes from 10.10.10.3 (HTTP) or 10.10.10.4 (SMTP), route it via eth2. If somebody is interested in the exact commands, I can post the script I used... Thanks to everybody :) -- ...Slamma Jamma. Dj Omar Santana. 1996 --- Debian + Mutt + Postfix * Origin: Web Page: http://pbrufal.kleenux.org (Fido 2:346/7.68) _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/