There seems to be some rumors floating around that stateless NAT exists in linux in a non-depreciated form (unlike iproute2) as of 2.6.24:
http://lwn.net/Articles/254559/
http://www.mail-archive.com/[email protected]/msg53070.html
...
However, I can't find any documentation on how this might work. Anyone have an idea of how this works?
tc
looks sparse! Thetc
actionnat egress 10.7.0.5/32 12.12.12.5
(assuming 10.7.0.5 is the private IP and 12.12.12.5 is the public IP) will do what you want, but getting the packets classified to allow the nat action to apply looks like more than I can glean from reading. W/o having the tools at hand I think that's the best I can say.