iptable_nat and ip_conntrack coupling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'd like to understand how tightly integrated the iptable_nat code is with ip_conntrack. If I have rules that define what packets are supposed to be NATed (e.g. -j SNAT --to x.x.x.x or -j DNAT --to x.x.x.x), then does the code *always* do NAT on packets that match those rules? Or, is there also the requirement that there has to be a connection maintained by ip_conntrack before packets are to be rewritten? For example, if there is an ICMP packet coming through the iptable_nat code, and it is a REPLY where ip_conntrack has not tracked a REQUEST for, then will this prevent the code from rewriting the packet, even if the rules match the packet?

Many thanks for your help.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux