Currently I have a router running several networks SNAT to a single outbound static address. Each network has it's own interface. What I am trying to do is route each network out the outbound interface, but each have it's own outbound static IP.
The only NAT rule I'm using now is:
iptables -t nat -A POSTROUTING -s 10.0.0.0/8 -o eth7 -j SNAT --to 188.8.131.52
This is routing networks 10.0.0.0/24, 10.1.0.0/24, 10.2.0.0/24, etc. all out a single static address.
I would like to have each net have its own static outbound address, but still use a single outbound interface.
Any help is greatly appreciated.