**Important Announcement** Starting June 15th, 2021, we are discontinuing PPTP, L2TP, and SSTP protocol support. See how it will impact your PureVPN experience. Read More >

How to Configure Firewall in Such a Way That When VPN Disconnects, All Browsing Stops (Windows7)

Aug 28, 2015
Jan 29, 2021
Download PDF

The following guide will help you in configuring windows 7 firewall settings in a way so that when your VPN disconnects, all browsing will stop.

If you are worried about your internet security and you wonder that if your VPN disconnects, your anonymity will be compromised, so here is the solution for you. You can configure your Windows firewall in such a way that when your VPN disconnects your Browsing will be stopped automatically, in this way you will remain secure.

1 Click on Internet (Wifi/Computer) icon in system tray. Then click on “Open Network And Sharing Center”

2 Make sure default connection’s location is set to “Public”, if not, click on it.

3 Click on “Public Network” to set location to ‘Public’

4a Next screen will just confirm your action, click “Close”

4b Open Control Panel.

5 Click on “Windows Firewall”

6 Click on “Advanced Settings”

7 Click on “Outbound Rules”

8 Click on New Rules

9 Select Port

10 Select TCP and Specific remote Ports as shown and enter port number in text field as shown. Like: 5,46,48-1722, 1724-65535

11 Select “Block the connection”

12 Check “Public”

13 Put “Block all traffic”

14 Rule is successfully added

15 You will see all browsing will stop now.

16 Open up your VPN dialer that you use for VPN connection and connect VPN.

17 Once VPN is connected, click again on Wifi/Internet icon in system tray and click “Open Network And Sharing Center”

18 Make sure the newly established VPN has location set to “Work”. If not then click on its location “Public” in current screen.

19 Click on “Work” You are done!

20 Next screen will just confirm, click “Close”

21 Now VPN connection is properly set to “Work” location.

22 Your browsing will now start and internet will now work as normal over VPN. If VPN will drop all browsing activity will stop.

How helpful did you find this answer?

Comments (1 )

1 Comment

  1. Antonio says:

    Hello, can you help me doing the same on OS X ?
    Thanks for help
    Best regards