Skip to contentSkip to conversation

Why would certain packets not reach nat PREROUTING chain?

DISCUSSION Gabriel 1 participant 1 message Nov 10, 2005

lore
Share & tools
lore

Gabriel

author
#0 lore raw
Quoted 2 lines · Adam Rosi-Kessel
Quoted 1 line · George Alexandru Dragoi

Better use mangle table, all packets traverse it. And

doesn't require

Quoted 3 lines
Quoted 1 line

conntrack.

But I can't do DNAT in mangle, right?

You cannot. nat and mangle are two different chains.

"Note that the DNAT target is only available within the PREROUTING and
OUTPUT chains in the nat table" from
http://iptables-tutorial.frozentux.net/iptables-tutorial.html#DNATTARGET

Signature · 7 lines
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com