Skip to contentSkip to conversation

nat, filter, and mangle order

DISCUSSION xavier renaut 1 participant 1 message Jul 8, 2003

lore
Share & tools
lore
#0 lore raw

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

Signature · 1 line
xavier