Menu
Categories
Windows – Force Applications to Use VPN
September 30, 2016 Microsoft

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

Leave a Reply
*