Knowledgebase
Enabling IPv6 protocol for VPN on Windows
Posted by Aidil A. on 10 July 2023 05:56 PM

Enable Internet Protocol Version 6 (TCP/IPv6)

Before start using IPv6 protocol or IPv6 IP address, you will need to ensure Internet Protocol Version 6 (TCP/IPv6) is enable.

  1. Press Win + R to open the Run command dialog box.
  2. Type ncpa.cpl and press Enter to open the Network Connections tool.

 

   3. Select the VPN connection you have created earlier and right-mouse on it to select Properties


 

  4. On Networking tab, ensure to tick Internet Protocol Version 6 (IPv6)

 

 

    5. Ensure to use default gateway on remote network is enable.

 

 

Add default route for IPv6

Windows doesn’t add an IPv6 route by default.

There are two workarounds:

  1. - from command line
  2. - from PowerShell

However, in this tutorial will show adding IPv6 default route from command line only.

Launch cmd with elevated permission - Run as administrator.

 

 

Finding interface name

Ensure to connect the VPN first or else the interface will not appear in your search (from command line).

Do take note the VPN interface name.

You can find interface name in several ways:

a- From Network Connections:

The name on top of each of the interfaces is the interface name.

 

b- From command line:

Open command prompt (cmd) and enter following command:

netsh interface ipv6 show interfaces

 

Look for your current connected VPN interface name. In this example, will be IKEv2 - MYP.

 

Add default route for IPv6

Enter following command including the double quotes mark:

netsh interface ipv6 add route ::/0 "interface_name"

Replace interface_name with your own interface name

Example using screenshot shown above:

netsh interface ipv6 add route ::/0 "IKEv2 - MYP"

 

If you are connected to the VPN, you will be getting Ok message.


 

 NOTES:

This command is one-time for lifetime only. No need to enter this command again if you have several VPN interface with IPv6 enabled. Unless, you've deleted the IPv6 default route.

 

By now, you should be able to ping any IPv6 hostname or domain.

ping -6 google.com

 

Check and verify your IP address by visit https://www.whatismyip.com/.


 

==========================================================================================

If you face any difficulties on the setup, please feel free to contact our support team by submitting a ticket on https://247livesupport.biz or emailing out support team at support@247livesupport.biz.

(0 vote(s))
Helpful
Not helpful

Comments (0)
Copyright © 1998 - 2021 Shinjiru International Inc. All Rights Reserved.