Skip to contentSkip to conversation

chains sequence

DISCUSSION Leonardo Rodrigues ( listas ) 2 participants 2 messages Sep 30, 2002

lore
Share & tools
lore
#0 lore raw

Hello Guys .....

Which is the correct sequence of a packet received on a machine
interface and redirected via DNAT ?? Would it be:

MANGLE PREROUTING
NAT PREROUTING
FILTER FORWARDNAT POSTROUTING

Sincerily,
Leonardo Rodrigues

#1 lore raw
Quoted 2 lines · Leonardo Rodrigues ( listas )

Which is the correct sequence of a packet received on a machine
interface and redirected via DNAT ?? Would it be:

This has been discussed on this list in a thread called "mangle tables" [1] a few weeks back. Also see Oskar Andreasson's tutorial[2] - It explains quite good how chains and tables are traversed.

[1]http://lists.netfilter.org/pipermail/netfilter/2002-September/038169.html. [2]http://iptables-tutorial.frozentux.net/iptables-tutorial.html#TRAVERSINGOFTABLES

Regards
Anders Fugmann

--
Author of FIAIF
FIAIF Is An Intelligent Firewall
http://fiaif.fugmann.dhs.org