On Mon, Aug 11, 2003 at 11:06:37PM +0200, Rudy Gevaert wrote:

| When a packet comes from the internet with destination one of the
| computers on the local lan, which route does it take?

'filter' table :

                          _____
Incoming                 /     \         Outgoing
       -->[Routing ]--->|FORWARD|------->
          [Decision]     \_____/        ^
               |                        |
               v                       ____
              ___                     /    \
             /   \                  |OUTPUT|
            |INPUT|                  \____/
             \___/                      ^
               |                        |
                ----> Local Process ----



'nat' table :

      _____                                     _____
     /     \                                   /     \
   PREROUTING -->[Routing ]----------------->POSTROUTING----->
     \D-NAT/     [Decision]                    \S-NAT/
                     |                            ^
                     |                            |
                     |                            |
                     |                            |
                     |                            |
                     |                            |
                     |                            |
                     --------> Local Process ------


[the ascii-art is copied directly from 
    http://www.netfilter.org/documentation/HOWTO//packet-filtering-HOWTO-6.html
        and
    http://www.netfilter.org/documentation/HOWTO//NAT-HOWTO-5.html
]

-D

-- 
All a man's ways seem innocent to him,
but motives are weighed by the Lord.
        Proverbs 16:2
 
http://dman13.dyndns.org/~dman/

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to