All of lore.kernel.org
 help / color / mirror / Atom feed
* Table NAT and MANGLE
@ 2006-03-02 20:29 Gervasio Bernal
  2006-03-03 16:04 ` Chinh Nguyen
  0 siblings, 1 reply; 2+ messages in thread
From: Gervasio Bernal @ 2006-03-02 20:29 UTC (permalink / raw)
  To: netfilter-devel

Hi all!!

Suppose I have this 2 rules, one in mangle and the other one in NAT table:

#iptables -t mangle -A POSTROUTING -o eth0 -j TTL --ttl-set 64
#iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

So, every time a packet goes out through eth0 first it sets the TTL to
64 and then do the masquerade. Is there any way to do this but in
opposite order? First masquerade and the TTL.
Maybe this example is not very clear, but I'm developing a module that
needs to match a packet after masquerade.

Thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-03-03 16:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-02 20:29 Table NAT and MANGLE Gervasio Bernal
2006-03-03 16:04 ` Chinh Nguyen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.