MAC won't work after routing. Packets will gain the MAC of the local machine when they get onto the eth cable. MAC is carried by the ethernet frame, and this is carrying the ip packet inside it.
You will need to MARK the packets in the mangle PREROUTING table and then MASQUERADE based on the MARK you have set.
I can't think of any useful reason to do this, so I gotta ask what you are trying to achieve..
|