Routing choice under user control per application instance?

Mike Kallies mike.kallies-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Thu Mar 18 21:47:55 UTC 2010


On Thu, Mar 18, 2010 at 4:52 PM, Tyler Aviss <tjaviss-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
> What are the applications? I don't believe it's really possible to
> have the routing rules aware of an individual application, but you
> could probably pull it off per-destination or per-port.
>
> There are a couple ways I could see doing something like this
>
> a) For given destinations, for example if your application always
> connects to a server at IP 256.256.256.1, then change the "route"
> rules so that all connections to that IP route through a secondary
> router
>
> b) Have the second router connected to a second NIC in the machine.
> Use iptables to redirect certain ports through the secondary NIC
>
> c) Have a proxy of some sort which will pass traffic to the secondary
> router only, and if your application(s) support proxy settings, set
> all the ones you want to use the alternate router to use the proxy.

One might also be able to use IP Tables to specify masquerading for
particular destination ports?

Hey, somebody already thought of something like that and wrote a nice article:

   http://linux-ip.net/html/adv-multi-internet.html

Just goes to show that no thought is original  :-)

-Mike
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list