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:
Code:
iptables -t nat -A POSTROUTING -s 10.0.0.0/8 -o eth7 -j SNAT --to 1.2.3.4
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.
Bo
Recent comments
20 hours 51 min ago
1 day 3 hours ago
1 day 7 hours ago
1 day 9 hours ago
1 day 17 hours ago
2 days 2 hours ago
2 days 3 hours ago
2 days 7 hours ago
2 days 11 hours ago
2 days 12 hours ago