Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Steven Kath <steven.kath@vyatta.com>
To: "Usuário do Sistema" <maiconlp@ig.com.br>
Cc: Mail List - Netfilter <netfilter@vger.kernel.org>
Subject: Re: come back the traffic on same interface which it input
Date: Wed, 15 Jun 2011 11:58:11 -0700	[thread overview]
Message-ID: <1308164291.32634.26.camel@lt> (raw)
In-Reply-To: <BANLkTimf7nTztsuo2ov1QuUN=ACKHsBsvw@mail.gmail.com>

On Tue, 2011-06-14 at 23:31 -0300, Usuário do Sistema wrote:
> hello everyone, I have two ISPs in my firewall that are ADSLs lines. I
> wish that all trafic input in wan1 ( ISP1 ) come back on it. but this
> isn't happening because the firewall gateway is ISP2 ( wan2 ) so all
> input traffic by ISP1 ( wan1 ) doesn't work because the firewall
> forwards all traffic as it as your gateway wich is ISP2
> 
> for exemplo, I have a http service on this firewall and when I attempt
>  access it from Internet doesn't work because it's on my ISP1.
> 
> how I can do for all input traffic on wan1 come back on it and not on
> wan2 wich is the firewall gateway ??
> 
> any tips are welcome

Here is a good start for a simple implementation:

http://lartc.org/howto/lartc.rpdb.multiple-links.html

If you need to be more selective, you can use iptables markings to get
finer control:

http://linux-ip.net/html/adv-multi-internet.html



  reply	other threads:[~2011-06-15 18:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-15  2:31 come back the traffic on same interface which it input Usuário do Sistema
2011-06-15 18:58 ` Steven Kath [this message]
2011-06-16  0:37   ` Usuário do Sistema

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=1308164291.32634.26.camel@lt \
    --to=steven.kath@vyatta.com \
    --cc=maiconlp@ig.com.br \
    --cc=netfilter@vger.kernel.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