chains sequence
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
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