I wonder if there is some tool that allows me to route all IP traffic of a given program through a particular interface?
Background: I am on a machine with multiple network interfaces connected to different networks. I have switched messaging from Skype to Wire.com, however, the wire.com Windows client does not work through all of the interfaces ("Your connection is not private"). Now I want to route all IP traffic related to wire.com through one particular interface.
What I tried so far:
- Changing the interface metrics is not an option as this breaks multiple other local tools. For testing purposes it worked for Wire.com.
- Manually editing the routing table does not work. There is a list of hosts that the Wire.com client connects to. I resolved all host names to IP addresses and added those to the routing table, still, Wire.com refuses to work. This is not an option as wire.com claims that IP addresses are subject to change.
- I disabled all network interfaces that did not work with Wire.com and launched the Wire client monitoring its traffic with Wireshark. I added all IP addresses to the Windows routing table (route add dest-ip gateway), somehow the connection did not work when I re-enabled the other interfaces.
Thus I wonder if there is some kind of tool that automatically routes a given program's traffic through a particular network interface?