----- Original Message -----
From: Roger Filomeno
To: Philippine Linux Users' Group (PLUG) Technical Discussion List
Sent: Wednesday, May 10, 2006 12:29 AM
Subject: Re: [plug] routing packets
IMHO
just bind your apache to IP on eth0 ^_^, same for the mail. no need to
route them
you cant do that... he needs incoming and outgoing goes to one interface
based on the protocol he selected...
On 5/9/06, Linux Win < [EMAIL PROTECTED]> wrote:
Im using redhat + iptables with two net gateways (eth0, eth1, eth2-local).
Now, what I want is to route all incoming and outgoing http and pop packets
to eth0 and smtp packets to eth1. Is this possible? Got any >URL for this?
policy based routing or advance routing plus NAT will solve your problem...
you can route any packet based on the header criteria (eg. source/destinatip
ip, tcp/udp port, icmp type, TOS, etc) thru policy based routing... NAT will
ensure you that your outgoing packet is the incoming packet of that
interface...
fooler.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph