Per-client NAT routing -- possible?
beo at sgs.o.se
Mon Mar 27 08:37:54 CEST 2006
On Wed, 2006-03-22 at 09:16 -0800, Jeremy Elson wrote:
> I'm trying to set up a Linux box as a NATting router. But here's the
> trick: my box's external interface is on a LAN that has a whole bunch
> of routers on it, any of which can be used to access the Internet.
> I'm trying to figure out how to configure iptables so that the NAT box
> selects the router to use based on client IP address (i.e., the IP
> address on the inside interface).
It sounds like you need policy routing (multiple routing tables).
Oskar Berggren <beo at sgs.o.se>
More information about the netfilter-devel