Windows – Force Applications to Use VPN

Got an app you want to work only when connected to VPN?  Have Windows Firewall do the work for you

First, connect to your VPN.  Then, ensure that your Public connection is that VPN connection.  You can do this by opening Network and Sharing Center.  In the example below, clicking on Ethernet 3 on the Unidentified network reveals the VPN IP address.

apng

Next, open up Windows Firewall and Choose Inbound Rules, New Rule.01a

Choose Program

01b

Choose This program path: and enter the path to the application executable.

03png

Select Block the connection

04png

Uncheck Public.  Ensure that Domain and Private remain checked.

05

Name your rule and finish!

06

Post a comment

You may use the following HTML:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*