windows: force user to use specific network adapter

Posted by Chad on Server Fault See other posts from Server Fault or by Chad
Published on 2010-09-17T14:31:26Z Indexed on 2011/01/16 3:55 UTC
Read the original article Hit count: 203

I'm looking for a configuration/hack to force a particular application or all traffic from a particular user to use a specific NIC.

I have an legacy client/server app that has a "security feature" that limits connections based on IP address. I'm trying to find a way to migrate this app to a terminal server environment. The simple solution is for the development team to update the code in the application, however in this case that's not an option.

I was thinking I might be able to install VMware NIC's installed for each user on the terminal server and do some type of scripting to force that user account to use a specific NIC.

Anybody have any ideas on this?

EDIT 1: I think I have a hack to work around my specific problem, however I'd love to hear of a more elegant solution. I got lucky in that the software reads the server IP address out of a config file. So I'm going to have to make a config file for each user and make a customer programs files for each user. Then add a VMware NIC for each user and make each server IP address reside on a different subnet. That will force the traffic for a particular user to a particular IP address, however its really messy and all the VM NIC's will slow down the terminal server. I'll setup a proof of concept Monday and let the group know how it affects performance.

© Server Fault or respective owner

Related posts about windows-server-2003

Related posts about networking