set up a Windows virtual router

In this tutorial, we’ll show you how to set up a virtual router with a VPN. Once finished, you can use the virtual router to connect other devices and route their traffic through the VPN. This is especially useful for devices that don’t natively support VPN connections, such as Roku, Apple TV, Chromecast, smart TVs, game consoles, and first-generation Amazon Fire TV sticks (newer Fire TV sticks support VPN apps). The process is much easier than setting up a VPN on your physical router, which often requires the risky task of flashing new firmware onto the device.

A virtual router can also be used to extend the range of a weak wifi signal. My friends and I recently used this in a hotel where the wifi didn’t extend all the way across the room. I placed my laptop in a spot where it got a better signal, then connected our phones to my laptop’s virtual router.


NordVPN is offering a fully-featured risk-free 30-day trial if you sign up at this page. You can use the VPN rated #1 for setting up VPN-protected wi-fi hotspots without any restrictions for a month. This is perfect if you want to connect devices that don't normally support VPNs apps.

There's no catch, either—just contact support within 30 days if you decide NordVPN isn't right for you and you'll get a full refund. Start your NordVPN trial here. They don't work in Google Docs unfortunately.

How to set up a VPN-protected wi-fi hotspot on Windows 10: easiest option

If you’re using Windows 10, you can follow the instructions in the video below. Windows 10 users do not need to use the Command Prompt to set up a VPN-protected wifi hotspot, as this feature is now accessible directly from the Settings app.

For older versions of Windows, keep reading.

What you need to create a virtual router in Windows

To get started, you’ll need the following:

  • A laptop with a Broadcom-based wifi-adapter (most laptops made in the last 10 years have this)
  • A VPN app and subscription that supports the OpenVPN protocol. Note that many VPNs now opt for Wireguard by default. We can’t guarantee this tutorial works with Wireguard connections, so you might need to switch to OpenVPN in your VPN app settings.
  • Administrative privilege on your laptop

First off, check to make sure your computer supports setting up a virtual router:

  1. Type cmd into the Windows search bar. In the search results, right-click Command Prompt > Run as Administratorwindows virtual router 0
  2. In the command prompt window that appears, type netsh wlan show drivers and hit Enterwindows virtual router 1.5
  3. Check for the line that says Hosted network supported. If it says “Yes” then your computer is capable of broadcasting its own wifi hotspot

This tutorial is for Windows 10, but Windows 7 and 8 users should be able to follow along as well.

How to configure your Windows Virtual router wi-fi hotspot with a VPN

Now to actually set it up:

  1. In the command prompt, type netsh wlan set hostednetwork mode=allow ssid=<MY-NETWORK> key=<MY-PASSWORD>, replacing <MY-NETWORK< and <MY-PASSWORD> with a network name and password of your choice. Press virtual router 1
  2. Some text will appear indicating you successfully created the virtual router. To turn it on, type netsh wlan start hostednetwork and press Enter
  3. A message will appear that says the hosted network has started. If not, you need to update your network adapter drivers and try again.
  4. Next, we need to share the virtual router’s connection with other devices. Press Windows Key+R to launch the Run prompt, type ncpa.cpl, and press virtual router 2
  5. A list of connections will appear. Find the one you just created. It will have the network name you input earlier. Memorize or write down the name of this virtual router 3
  6. On the same list of connections, find the one that says TAP-Windows Adapter. Right click it and select Propertieswindows virtual router 4
  7. Click the Sharing tab at the top and check the box to Allow other network users to connect through this computer’s Internet connection.
  8. Under Home network connection, click the dropdown and select the name of the network you created earlier. Press OK.
  9. Open your VPN app, set the protocol to OpenVPN if necessary, and connect to a server in whatever location you wish. Using OpenVPN activates the TAP Windows virtual router 5 expressvpn
  10. Your PC is now a VPN-enabled wi-fi router!

Now all that’s left to do is connect your devices to the virtual router. When you enter the wifi settings, the new network you just created should appear in the list of available wifi connections. Connect to it, enter the password that you created above, and that’s it!

If you disconnect from the VPN, the TAP adapter will de-activate and the virtual router will stop broadcasting the wifi signal.

Troubleshooting tips

If you have trouble starting the network, chances are there’s something off in your network adapter settings. To find these settings and adjust them, do the following:

  1. Press Windows Key+X and select Device Manager
  2. Click the arrow next to Network Adapters to see a list of available adapters.
  3. Find your main wifi adapter. It will usually contain Broadcom or 802.11 or something similar in the text. Right click it and select Update Driver Software to check for any available updates. You can choose the option to search automatically.
  4. Next, find the adapter that says TAP-Windows Adapter V9 or something similar. It might contain the name of your VPN provider instead of “Windows”. Double check that this is enabled and up-to-date by right-clicking. Select Enable if it is not enabled, and Update Driver Software to check for driver updates.