In 2.6 kernel series, the IMQ patch allow you to change this behaviour. For 2.4 kernels I had seen (some time ago) something about it in IMQ faqs or there. You can changhe this behaviour, but I don't remember now if for 2.4 kernels were changing some #define in any .c or .h file. Best regards Jarek Poplawski wrote: > Hi! > > I would like to thank very much for this great page with Kernel Packet > Traveling Diagram and to suggest small update concerning IMQ. > > I think the sentence: > > "IMQ in input comes before nat so IMQ does not know the real ip address. > Ingress comes after nat, so ingress knows the real ip address." > > could be more precise like that: > > "By default IMQ in PREROUTING comes before nat and in POSTROUTING after > nat, > so in both cases IMQ knows ip addresses as masqueraded (nated) if it is > used. > This could be changed with kernel parameters IMQ_BEHAVIOR_??". > > My opinion is based on IMQ patch by Patrick McHardy from www.linuximq.net. > > Best regards, > > Jarek Poplawski > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc > > -- Samuel Díaz García Director Gerente ArcosCom Wireless, S.L.L. mailto:samueldg@arcoscom.com http://www.arcoscom.com Móvil: 651 93 72 48 Tlfn.: 956 70 13 15 Fax: 956 70 34 83