All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martijn Lievaart <m@rtij.nl>
To: Paulo Andre <pandre@darkstar.nom.za>
Cc: netfilter@lists.netfilter.org
Subject: Re: is this possible (multiple sources, replies go to proper source)
Date: Sat, 22 Jul 2006 12:32:15 +0200	[thread overview]
Message-ID: <44C1FEAF.4060304@rtij.nl> (raw)
In-Reply-To: <44BE491C.7010502@darkstar.nom.za>

Paulo Andre wrote:

> Martijn Lievaart wrote:
>
>>
>> Use CONNMARK to remember which connection came from which gateway, 
>> use the
>> ROUTE target to correctly route the replies.
>>
>> HTH,
>> M4
>>  
>>
>
> Hi Martjin, do you have an example on how to do this?
>


Scratch the route target. Use iproute2. In prerouting mark the packet 
according to the interface it came in on. On the retrun traffic restore 
the mark. Create routing rules on the fwmark. Google on "connmark route" 
gives lots of info.

HTH,
M4



  reply	other threads:[~2006-07-22 10:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-10 20:00 is this possible (multiple sources, replies go to proper source) David Lang
2006-07-11 11:12 ` Martijn Lievaart
     [not found] ` <55561.2001:888:19e1::53.1152616368.squirrel@dexter>
2006-07-19 15:00   ` Paulo Andre
2006-07-22 10:32     ` Martijn Lievaart [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-07-13 21:10 David Lang
2006-07-07 20:21 David Lang

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=44C1FEAF.4060304@rtij.nl \
    --to=m@rtij.nl \
    --cc=netfilter@lists.netfilter.org \
    --cc=pandre@darkstar.nom.za \
    /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.