From: Alexei Ustyuzhaninov <alust@alust.homeunix.com>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: netfilter@vger.kernel.org
Subject: Re: fwmark iptables/ip routing interaction question
Date: Sun, 11 May 2008 23:50:48 +0600 [thread overview]
Message-ID: <482731F8.9030806@alust.homeunix.com> (raw)
In-Reply-To: <alpine.LNX.1.10.0805111938210.19952@fbirervta.pbzchgretzou.qr>
Jan Engelhardt wrote:
> On Sunday 2008-05-11 18:23, Alexei Ustyuzhaninov wrote:
>> Jan, could you explain please which code does this extra rerouting: iproute2 or
>> netfilter?
>
> Netfilter of course.
> grep -r route_me_harder net/ipv4/netfilter/
>
>> I have a weird with the same scenario: after rerouting a packet goes
>> out through another interface but keeps the source address of the original
>> interface.
>
> Yes that is ... how the code is currently written it seems.
Well, maybe you can suggest how to work around this? :) I tried snat,
but this solution seems not to work.
--
Alexei
next prev parent reply other threads:[~2008-05-11 17:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-07 14:36 fwmark iptables/ip routing interaction question pthyseba
2008-05-07 15:04 ` Jan Engelhardt
2008-05-11 16:23 ` Alexei Ustyuzhaninov
2008-05-11 17:39 ` Jan Engelhardt
2008-05-11 17:50 ` Alexei Ustyuzhaninov [this message]
2008-05-16 15:03 ` Pascal Hambourg
2008-05-17 3:53 ` Alexei Ustyuzhaninov
2008-05-17 10:49 ` Pascal Hambourg
2008-05-17 12:37 ` Alexei Ustyuzhaninov
2008-05-17 23:26 ` Pascal Hambourg
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=482731F8.9030806@alust.homeunix.com \
--to=alust@alust.homeunix.com \
--cc=jengelh@medozas.de \
--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