0.90.1 and tables

sampsa@staff.netsonic.fi sampsa@staff.netsonic.fi
Fri, 18 Feb 2000 11:05:03 +0200 (EET)




>NAT has three builtin chains: OUTPUT (same as packet filtering, for DNAT
>on locally-output packets), PREROUTING (for DNAT on incoming packets),
>and POSTROUTING (SNAT on outgoing packets). 
>
>It has four useful targets: SNAT, DNAT, MASQUERADE and REDIRECT. 
>
>Note that this table is consulted ONLY the first time a connection is
>seen, unlike the packet filter table, which is consulted for every
>packet. 

 Does this mean that I could possible NAT the same packet during
PREROUTING and POSTROUTING-chains. I have a case I need to do both SNAT
and DNAT for the same packet.

 - Sampsa Ranta
   sampsa@netsonic.fi