Making a Failover Router Box
So i tried to look through the site, and other threads and i dont think i found exactly what i was looking for, and was hoping maybe to be pointed in the right direction.
I'm trying to setup my own little hosting center...as kind of a side job/personal use type of thing.So for right now i'm just trying to use spare parts and equipment to get things going...
I have a business Cable connection, and a personal cable connection...
What i'd like to do is load a box with 3 network cards, and use it as a router/firewall for my network. But i'm not trying to multiplex it, rather i just want it to use the business connection as its primary for everything, but if it goes out, failover to my personal connection (only if the other goes out)..now if i can multiplex it, for certain types of traffic, then thats fine, in fact it would be great, but i need to make sure something like my mail server goes out on the right ip, so not to cause problems when someone does a reverse lookup on it.
I'd like to setup routing rules so that regardless of which connection receives a certain service request, such as a port 80, it will forward directly to my webserver, but mail requests will goto my mail server, or RDP will goto a specific server, etc..
The personal will probably be upgraded to business class later, but for now, its cheaper.
Now, in addition to this, i would like to throttle bandwidth usage from the the private IPs of my virtual machines...lets say i only want my mail server to use 256/256 of my bandwidth, while my webserver get to use 1mb/1mb
So all in all i want to setup a box to have a primary internet connection, and be able to failover to a secondary, as well as host all my routing rules, and throttle incoming and outgoing bandwidth of private ip addresses...
If you have any suggestion or know of an article that answers my question, please let me know!
Thank you all so much :-)
Also...im a little bit new to linux, mainly have just setup webservers or vmware server boxes in the past...prefer to use Ubuntu or Debian. Thanks again!
|
Recent comments
14 hours 29 min ago
14 hours 34 min ago
19 hours 33 min ago
1 day 2 hours ago
1 day 3 hours ago
1 day 4 hours ago
1 day 8 hours ago
1 day 15 hours ago
1 day 19 hours ago
1 day 20 hours ago