Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Jason Opperisano <opie@817west.com>
To: netfilter@lists.netfilter.org
Subject: Re: redirect traffic to certain interface
Date: Wed, 29 Sep 2004 11:33:01 -0400	[thread overview]
Message-ID: <1096471981.12262.5.camel@wolfpack.ljm.dom> (raw)
In-Reply-To: <1096380257.8264.34.camel@linuxdesarrollo.epa.com.ve>

On Tue, 2004-09-28 at 10:04, Victor Medina wrote:
> I have a gateway server, that runs a proxy server, and a smtp. This
> server has 3 interfaces, two interfaces connected to internet with two
> different server providers and the other one is for the internal
> network.
> 
> What i would like to do, is send all outgoing smtp traffic which is
> generated by the smtp server to one specific interface (eth2). The
> problem is I just don't know who to tell the iptable how to let the smtp
> server recieve all incoming traffic to the smtp server, and then forward
> all outgoing traffic to the especific device.
> 
> In this case, all incoming smtp traffic generated by our internals
> clients reach the smtp server for distribution using device eth1, then
> (i would like to) let the smtp server use ONLY the eth2 to forward mail
> to the rest of the servers in internet.
> 
> Can i do this? How can i do this?

read:

        http://lartc.org/howto/lartc.netfilter.html
        
-j
  
-- 
Jason Opperisano <opie@817west.com>



  parent reply	other threads:[~2004-09-29 15:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-28 14:04 redirect traffic to certain interface Victor Medina
2004-09-29 14:31 ` Aleksandar Milivojevic
2004-09-29 15:33 ` Jason Opperisano [this message]
2004-09-29 15:40   ` Victor Medina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1096471981.12262.5.camel@wolfpack.ljm.dom \
    --to=opie@817west.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox