From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anupam Subject: Routing b/w 2 ethernet cards. Date: Tue, 30 Mar 2004 17:14:40 +0000 Sender: linux-newbie-owner@vger.kernel.org Message-ID: <4069AB00.5040707@iitk.ac.in> Reply-To: anupam.gupta@unix.net Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-newbie@vger.kernel.org Hi all, I've 2 ethernet interfaces. I want the following scenario. I want to control applications to use specific eth interfaces. Say, when I use my IMAP e-mail client, I want it to use eth0, eth1 otherwise. Can I set iptables rules deciding which remote port I want to connect to using a particular NIC. If yes, I'd need an example. Otherwise let me know some other way to do such thing. Thanks and regards, Anupam. - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs