Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

3 Answers

up vote 2 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
add comment

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
add comment

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
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.