All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alessandro Ren <alessandro.ren@opservices.com.br>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Problem with two providers:Need to route packets on the
Date: Thu, 19 Oct 2006 12:56:52 +0000	[thread overview]
Message-ID: <45377614.1060704@opservices.com.br> (raw)
In-Reply-To: <000601c6ef81$692240f0$3b66c2d0$%lartc@neuf.fr>

KORTA wrote:
>
> Hello,
>
>  
>
> i would like to know how to resolve a problem.
>
>  
>
> I have a debian router with 3 interfaces (LAN, and two internet 
> providers (Provider A, Provider B)).
>
>  
>
> The default route is configured to use the provider A
>
>  
>
> The problem is that,
>
> When an external connection arrives from provider B to an internal 
> server (with nat),  the packet is routed to the default route:
>
> I explain:
>
> -          A packet arrives from provider B in direction of a internal 
> server
>
> -          The router performs nat operation
>
> -          The internal server generates a response
>
> -          The router routes the packet on the interface Provider A
>
>  
>
> Consequently, The connection cannot been established
>
>  
>
> I want to know if its possible to configure my debian router to route 
> packets to the interface on which packet arrives. In the example, 
> packets should have been routed by the interface connected to provider B
>
>  
>
> If yes, do you know how to do that ?
>
>  
>
> Thanks.
>
>  
>

    I think tha CONNTRACK solves this problem for you, putting packets 
that comes in and out, using PREROUTING and POSTROUTING.
    []s.

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

      parent reply	other threads:[~2006-10-19 12:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-14 11:10 [LARTC] Problem with two providers:Need to route packets on the KORTA
2006-10-14 11:56 ` [LARTC] Problem with two providers:Need to route packets on Oscar Mechanic
2006-10-14 17:21 ` [LARTC] Problem with two providers:Need to route packets on the KORTA
2006-10-14 17:44 ` [LARTC] Problem with two providers:Need to route packets Oscar Mechanic
2006-10-18 17:53 ` [LARTC] Problem with two providers:Need to route packets on the KORTA
2006-10-19 12:56 ` Alessandro Ren [this message]

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=45377614.1060704@opservices.com.br \
    --to=alessandro.ren@opservices.com.br \
    --cc=lartc@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.