Friday 14 September 2018

How to set up application-specific routing table on Windows?


Suppose network interface 1 (net1) and 2 (net2) are both connected to the Internet. I want application 1 (app1) to use net1, and application 2 (app2) to use net2. How can it be done under Windows?


If you need a concrete example of the above situation, consider:



  • A laptop with Windows 7

  • net1 = A wired connection to a Verizon Internet modem

  • net2 = A wireless connection to a Comcast Internet modem

  • app1 = Internet Explorer

  • app2 = Firefox

  • I'd like to have "IE use Verizon but not Comcast", and "Firefox use Comcast but not Verizon"


It doesn't have to be done via the routing table. If you've other ideas, please let me know!



Answer



Sounds like ForceBindIP is what you're looking for :)



ForceBindIP - Bind any Windows application to a specific interface


ForceBindIP is a freeware Windows application that will inject itself into another application and alter how certain Windows Sockets calls are made, allowing you to force the other application to use a specific network interface / IP address. This is useful if you are in an environment with multiple interfaces and your application has no such option for binding to a specific interface.


Some programs that have been tested to work with ForceBindIP include DC++, uTorrent, Quake II, Quake III, Diablo II, StarCraft, Internet Explorer, Mozilla Firefox, Google Earth, Infantry, Real Player, Unreal Tournament 2004 (requires -i), Outlook 2000 (requires -i). Programs that do not work include GetRight (anti-debugger / forking techniques), WinCVS (forks cvs.exe)



You can simply make shortcuts to launch the application using ForceBindIP, with the IP address and program as arguments:


alt text


ForceBindIP is freeware.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...