Disable VPN for a given process/application

5

3

I'm using a constant VPN connection for privacy purposes. (I hate the laws, all the logging nowadays).

But when it comes to gaming, I don't really need encryption/hiding at all. I'd like to disable VPN for a given process like Steam+Xy.exe to make a game playable.

Is that possible? If yes, how?

(OS: Windows 7 Ultimate x64)

Apache

Posted 2010-07-27T08:05:22.420

Reputation: 14 755

I was going to suggest using ForceBindIP but unfortunately it doesn't appear to be compatible with x64. – Kez – 2010-07-27T09:34:26.607

Damn it........ :( – Apache – 2010-07-27T09:39:45.770

I eat my words... – Kez – 2010-07-27T09:51:18.553

Answers

5

You could use ForceBindIP (oh yes you can!) and run your Steam+Xy.exe games using the following command from the command prompt:

C:\Windows\SysWOW64\ForceBindIP.exe 192.168.0.1 "C:\Steam+Xy.exe"

Note - you will need to change the IP address in the above command to be your normal default gateway and make sure the path to the application Steam+Xy.exe is correct.

This will ensure that traffic for your application bypasses the VPN and goes straight out through your default gateway and out onto the internet.

Simple modify your current shortcuts, whether they are in the Start Menu, the Programs folder or on your desktop to the above command for ease of use.

Kez

Posted 2010-07-27T08:05:22.420

Reputation: 15 359

Update: It doesn't really work: http://noob.hu/2010/07/27/error.jpg

– Apache – 2010-07-27T10:01:29.590

Hmm. A workaround - switch the metrics of the VPN connection and your primary internet connection so that everything goes out over your normal connection. Use ForceBindIP for everything else that you want to go out over the VPN. I'm sure someone will come up with an easier solution - would be interested to hear it myself! – Kez – 2010-07-27T11:21:11.833

Contacted the support of the VPN provider but even they don't know an answer yet. Tried many sites, hope someone will come up with a solution one day. – Apache – 2010-07-27T16:22:22.797