From mboxrd@z Thu Jan 1 00:00:00 1970 From: JC Subject: Re: Questions regarding routing in the stack Date: Thu, 21 Jul 2005 10:18:26 -0700 Message-ID: References: Reply-To: JC Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: "Carl Holtje ,021,vcsg6," Cc: netfilter@lists.netfilter.org The diagram is helpfull, thank you. I'll give it a thorough look... > > Of course, that needs to happen for both locally generated traffic and > > incoming traffic, so that I link the incoming packets to the right > > applications. > > Why does this sound like NAT, where you take data from one interface and > spit it out on another (receive is done the same way)? It is a kind of NATing, just changing the IP/interface. The thing is the rules are not static, they can change at a high rate. Definitely not confident changing the rules with a script rewritting/reloading the ruleset will not break it at some point. I am currently thinking of writting a netfilter module of some sort that will handle this out.