From mboxrd@z Thu Jan 1 00:00:00 1970 From: xavier renaut Subject: nat, filter, and mangle order Date: Fri, 11 Jul 2003 10:21:36 -0400 Sender: netfilter-admin=wool9L35kiczKOhml7GhPkB+6BGkLq7r@public.gmane.org Message-ID: <20030711142136.GT10896@natch.8d.com> Mime-Version: 1.0 Return-path: Content-Disposition: inline Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: netfilter=wool9L35kiczKOhml7GhPkB+6BGkLq7r@public.gmane.org Hello, here is the scheme for the filter table : _____ Incoming / \ Outgoing -->[Routing ]--->|FORWARD|-------> [Decision] \_____/ ^ | | v ____ ___ / \ / \ |OUTPUT| |INPUT| \____/ \___/ ^ | | ----> Local Process ---- in which order are processed the nat, filter, mangle for the OUPUT chain for example ? if i generate a packet locally, will it hit the nat or the filter table first ? (in the OUTPUT context) thanks -- xavier