Skip to contentSkip to conversation

Routing b/w 2 ethernet cards.

DISCUSSION Anupam 1 participant 1 message Mar 30, 2004

lore
Share & tools
lore

Anupam

author
#0 lore raw

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs