While of no use to you, in iptables (kernel 2.4) you can achieve that
using the OUTPUT chain of the NAT table.

[EMAIL PROTECTED] wrote:
> I have a machine with two outside interfaces. One (ADSL) if the default
> route, used for all outgoing traffic, and the other (FR) is used mostly to
> receive mail, etc. Now I want to make setup so that outgoing mail (i.e.,
> outgoing connections with port = 25) would be sent using FR interface and
> not the ADSL. However, I can't find a tool that would allow me to do such
> things. iproute2 can make routing decisions based on firewall marks (at
> least the docs claim it can), but as I see from ipchains howto, if the
> packet originates on the local machines, routing decision comes before the
> firewall rules come in play.  Is there any way to do it? The kernel is
> 2.2., upgrade to 2.4 is out of the question for now (I don't know if 2.4
> can do this, but anyway I guess it wouldn't help).


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to