--On 23 September 2009 00:50:04 +0200 Pascal Hambourg <pascal.mail@xxxxxxxxxxxxxxx> wrote:
You might be interested in the CONNMARK target and the connmark match. 1) Mark packets received on each tunX interface with MARK. 2) Copy the packet mark into the connection mark with CONNMARK. 3) Copy the connection mark of packets received on eth0 into the packet mark with CONNMARK. 4) Route the packets according to their mark with ip rule & ip route.
Thanks - just what I was looking for. -- Alex Bligh -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html