Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My Windows PC is on two different networks, but I have programs that work better on a particular network. So for example, Outlook needs to use network A, but Chrome needs to use network B. I don't really want to have to add static routes every time I visit a new site, and there are some applications that still need to use the internet on network A.

What I think what I need is a program that can bind a program to a network. So that individual programs can use specific gateways... Is there such a program?

Even better, it would be great to have a local HTTP proxy which uses different gateways depending on the website I visit, but that might be out of the question...

share|improve this question
up vote 4 down vote accepted

ForceBindIP allows you to bind a program to a specific interface. You could bind it to network adapter A or network adapter B, and add it to your command line so you do not need to worry about it. I hope that helps.

share|improve this answer
Works! However it needs some improvement (you can't pass arguments to programs that you launch). – nbolton Aug 25 '10 at 9:28

Routing is handled by the O.S., not by applications; a program can only ask the system to open a network connection to a given destination address, but it's the O.S.'s duty then to route packets in order to reach it. There's nothing a specific application can do about this, unless it goes down to implementing its own TCP/IP stack.

share|improve this answer
So, is the answer: a) "I don't know of any." b) "This is impossible." or c) "This is unlikely." -- seems to me that you think it's a mixture of a and c. – nbolton Aug 24 '10 at 7:51
That's correct. – Massimo Aug 24 '10 at 9:10
In that case, I'm not entirely sure that this should be an answer. It looks more like a comment. – nbolton Aug 25 '10 at 9:29

Wingate has the ability to bind to gateway. Its free license. As long as your application can set proxy, wingate will help you to achieve this.

For applcations that cannot set proxy, ypu can use routing metric/windows nic binding to route to your required nic , then the rest , configure them to point to your wingate proxy

share|improve this answer

Your Answer


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.