Multiple Interfaces + Cisco 515 and default NIC
I have a box that is in our DMZ behind a couple of routers. The box has 3 interfaces for different apache virtual sites. To get back out of the firewall to the public internet each IP needs to be setup in a translation group on the Cisco. The problem is that I am defaulting out of the one of the new IP's which does not have a translation group setup on the cisco. An easy fix would be to add the translation group for the new IP, but I would rather not do that.
With that said, how do I force public traffic to go out a certain IP/Interface? Everything is leaving from 192.168.1.52 and I would like it to leave via 192.168.1.50...Is this a perfect use for Iptables? If so, what is the easiest way to accomplish this?
# The primary network interface
iface eth1 inet static
dns-nameserver 192.168.187.1 192.168.178.2
iface eth1:0 inet static
iface eth1:1 inet static
Thanks a bunch!