Is it possible to route the traffic used by a process over a specific interface? for example network traffic by download application should always use the interface wlan0 where as all other applications on the machine should use eth0, is it possible to have this kind of rule in linux.?
|
feedback
|
|
Not per application, no. You can do it per port or per ip-address etc, or an application itself can bind to (and use) a specific network card. You can't set up a rule to do it though. | |||||||||
feedback
|
|
A few people have written shims that use the LD_PRELOAD feature of Linux to achieve this: | |||
|
feedback
|
