REDIRECT after SNAT?

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

 



Hi,

Is there any way to force a REDIRECT to (e.g.) a local Web server _after_
SNAT has been done?  I have a Truly Evil Scheme to map VLANs to SNAT address
ranges, and I want it to work with a transparent proxy -on the same device-
(I'm pretty sure it would work fine split across two devices).

The problem is that the SNAT has to happen in nat:POSTROUTING, and REDIRECTs
have to happen in nat:PREROUTING - so by the time my Evil SNAT Hackery has
happened, it's too late to force it to the local machine.

Is there such a thing as a 'retry this packet from the beginning' target?

Thanks in advance

Paul




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux