Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the best way to setup multiple WAN's into a Ubuntu distro and load balance? I have two internet connections, one static and one dynamic and I need to combine and load balance them. I have been looking into the following method but was wondering if anyone had suggestions that were more Ubuntu specific or possibly other distro's that would work better for this.

share|improve this question
A GUI tool would be awesome for the lazy amoung us, but I suspect this will be a heavily hackish solution. – Jeremy Nov 4 '10 at 3:15

As far as I know, Zentyal, previously known as eBox, offers that functionality, and it's easily installable on Ubuntu.

Version 1.4 is available from the repositories as eBox, and version 2.0 can be installed from an additional repository.

See here: And here is a nice detailed HOWTO:

share|improve this answer

The primary problem is that while you can create configurations to load balance your outbound traffic, you won't be able to control your inbound traffic. The inbound traffic is aimed at a specific IP address, and each of your Internet connections has a separate IP, as assigned by the upstream provider. Doing this requires coordination with your upstream provider, and likely a full BGP configuration to publish alternate routes, etc. Doing bonding (combining traffic) would also need the upstream involved.

share|improve this answer
isn't a reverse proxy the right solution for load balancing inbound traffic? – Mr.Gosh Jul 2 '15 at 11:43

Try out Zeroshell, bundled with an Linux.

Runs very smooth on low end h/w with no glitches.

Configuration options lets to play as you want.

share|improve this answer
Welcome to Ask Ubuntu! I recommend editing this answer to expand it with specific details about how to do this. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.) – David Foerster May 11 at 12:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.