Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 –  hbdgaf Nov 22 '10 at 7:19
add comment

1 Answer 1

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:

http://www.tomshardware.com/forum/21544-42-combining-multiple-internet-connections-home-network

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.

http://www.ehow.com/how_5019947_set-up-proxy-server-ubuntu.html

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

Your Answer

 
discard

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.