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.
The problem is that normal routing tables use IP addresses, while you're trying to make the decision based on the domain name. I don't believe there is anything built into Windows that can do what you want. Perhaps, if you're just trying to access web pages, try setting up a proxy which will send traffic out the VPN tunnel and then configure your browser to only use the proxy for certain addresses (.com in this instance), and then the rest go out your normal default gateway.
I assume that you have setup PPTP VPN and that you configured your router to forward the 1723 port to your machine. If you use two domain names that will be pointing to the same public IP you won't be able to do much. Only chance you got is to use different ports in your router forwarding configuration. Also you should try looking into TeamViewer
I ended up using a specially configured dns server to forward some traffic to a overseas vpn to accomplish this.