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

I have a usb cellular modem and a Home LAN connection on my Ubuntu 10.10 box.

Both work independently.

I want to know how to have both connected at the same time, and be able to specify which application uses which device to connect to the internet.

Does anyone know how to do this?

share|improve this question
Anyone know if you could set up chroot environments to force families of apps on to the same connection? – Jeremy Nov 22 '10 at 6:17
Helps when apps aren't coded to use proxies. – Jeremy Nov 22 '10 at 6:17
proxychains applaunchcommand seems pretty straightforward and 3proxy supports both forwarding of tcp and udp – RobotHumans Nov 22 '10 at 7:19
up vote 4 down vote accepted

There is no direct way to tell an application to use a specific connection, you can do two different but complex things in order to acheve the same result.

First you can bind the two networks together so they're both being used:

The other is that you set up one connection as a proxy service and configure individual apps to use the proxy instead of the general network.

share|improve this answer
i like option 2 as a solution +1 – RobotHumans Nov 22 '10 at 3:13

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.