From: Michele Petrazzo - Unipex <michele.petrazzo@unipex.it>
To: Kevin Bailey <ke-linux@retriever.dyndns.org>
Cc: netfilter@vger.kernel.org
Subject: Re: Pre-routing re-write
Date: Fri, 23 Oct 2009 15:35:17 +0200 [thread overview]
Message-ID: <4AE1B115.7090007@unipex.it> (raw)
In-Reply-To: <20091017034303.GB27400@retriever.dyndns.org>
Kevin Bailey wrote:
(sorry for late reply, I was so busy)
> On Fri, Oct 16, 2009 at 01:13:30PM +0200, Michele Petrazzo - Unipex
> wrote:
>> Sorry, but this can be possible. The gw for a network class must be
>> inside the _same_ class!
>
> The gateway of 192.168.10.2 is quite reachable from 192.168.10.1.
>
From your first email I didn't understand this
>> Where the packet starts? If you use nat + output you are saying to
>> the kernel to do a thing when a packet are generated locally. Are
>> you the gateway for another network (lan)? However, It's not so
>> well explained what you want to achieve.
>
> The packet will be originated locally. I was just asking if it was
> possible for a packet that got re-written to be routed beforehand.
I continue to not understand what you want to do, however, for me no.
The packet has to pass all the chains and table and cannot re-enter
inside the kernel flow
Michele
prev parent reply other threads:[~2009-10-23 13:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-14 23:10 Pre-routing re-write Kevin Bailey
2009-10-16 11:13 ` Michele Petrazzo - Unipex
2009-10-17 3:43 ` Kevin Bailey
2009-10-23 13:35 ` Michele Petrazzo - Unipex [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=4AE1B115.7090007@unipex.it \
--to=michele.petrazzo@unipex.it \
--cc=ke-linux@retriever.dyndns.org \
--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;
as well as URLs for NNTP newsgroup(s).