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?

  • Anyone know if you could set up chroot environments to force families of apps on to the same connection?
    – Jeremy
    Commented Nov 22, 2010 at 6:17
  • Helps when apps aren't coded to use proxies.
    – Jeremy
    Commented Nov 22, 2010 at 6:17
  • proxychains applaunchcommand seems pretty straightforward and 3proxy supports both forwarding of tcp and udp Commented Nov 22, 2010 at 7:19

1 Answer 1


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.


  • i like option 2 as a solution +1 Commented Nov 22, 2010 at 3:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .