Multiple IP addresses + Routing?
I have several static IP addresses, and would like to set up a linux box to act as a router.
If I have 3 static IP addresses, and 4 NICs in the machine (3 outgoing, 1 incoming) can I do the following? * Assign 3 IP addresses on one (physical) interface * Have the other three interfaces forward traffic, each depending on one of the three static IPs? I would assume it looks something like what I put below, but I'd love it if someone could point me in the right direction. If there is a distro similar to smoothwall, only able to do this, that would be nifty as well. ;) Code:
#Not very familar with iptables, sorry |
Looks good. I have not done it but I do use my FC4 box as a firewall. The only point I would add is to be sure and enable forwarding with:
Code:
echo "1" > /proc/sys/net/ipv4/ip_forward |
All times are GMT -5. The time now is 08:43 AM. |