route to vpn based on destination

Posted by inquam on Server Fault See other posts from Server Fault or by inquam
Published on 2011-01-02T21:22:19Z Indexed on 2011/01/03 9:56 UTC
Read the original article Hit count: 235

Filed under:
|
|

I have a VPN connection on a Windows 7 machine. It's set up to connect to a server in US. Is it possible, and if so how, to setup so that .com destinations uses the vpn interface and .se destinations uses the "normal" connection?

Edit (clarification): This is for outbound connections. I.e. the machine conencts to a server on foo.com and uses the VPN and the machine connects to bar.se and uses the "normal" interface.

Let's say foo.com has an IP filter that ensures users are located in USA, if I go through the VPN I get a US ip and everything is fine. But tif all traffic goes this way the bar.se server that has a IP filter ensuring users are in Sweden will complain. So I want to route the traffic depending on server location. US servers through VPN and others through the normal interface.

© Server Fault or respective owner

Related posts about windows-7

Related posts about vpn