How to Configure VPN Settings Securely in Windows 11

Difficulty
Intermediate
Tested on
Windows 11 24H2
You will need
VPN provider server address, VPN credentials, Pre-shared key or certificate

Step by step

  1. 30 sec

    Navigate to the VPN settings menu

    Open the Settings app by pressing Win + I. Navigate to Network & internet in the left sidebar, then select VPN from the main settings pane.

    Note: Win + I
  2. 2 min

    Add a new VPN connection

    Click the Add VPN button. Select Windows (built-in) as the VPN provider. Enter a descriptive connection name, the server address provided by your service, and select the appropriate VPN type, such as L2TP/IPsec or IKEv2.

    Note: Always choose the highest security protocol offered by your provider; avoid PPTP if possible.
  3. 1 min

    Enable the Kill Switch functionality

    Within the same VPN settings menu, locate Advanced network settings. Select the VPN connection, click Advanced options, and ensure Block unauthorized access (Kill Switch) is toggled to On. This prevents your device from sending unencrypted data if the VPN connection drops.

    Note: This is essential for preventing accidental IP leaks.
  4. 1 min

    Test the connection integrity

    Return to the VPN menu and click Connect on your newly configured profile. Once connected, open your web browser and navigate to a DNS leak test site to confirm your traffic is routed through the VPN server and not your local ISP.

  5. 1 min

    Manage VPN bypass settings

    If you require local network access while using the VPN, ensure Split Tunneling is configured if your provider supports it. You can manage these rules in the Advanced options of your VPN profile by excluding specific local IP ranges from the tunnel.

    Note: Split tunneling reduces load but may expose some traffic.