How do I make my computer a wireless router on Windows 7/8?

If you have got Windows 7/8 you can easily share your Private Internet Access VPN connection with all your wireless devices (iPhones, iPads, Androids, other PCs etc…) using virtual WiFi hotspot support in Windows. You don’t need to run Private Internet Access on your router. In fact you don’t need a router at all for VPN. 

First, install PIA's client on your Windows PC. Then go to Start Menu and type cmd. Windows will find cmd.exe console program. Right click on it and choose “Run as administrator“:

image

This image has been resized to fit in the page. Click to enlarge.

 

 

Type the following commands into Windows console:

netsh wlan set hostednetwork mode=allow ssid=Test key=password
netsh wlan start hostednetwork

I have used “Test” as new hotspot SSID, and password “password”. You should change these.

image

This image has been resized to fit in the page. Click to enlarge.

 

 

If everything went OK, the last line will show “The hosted network started”. In case you receive this:

The hosted network couldn't be started.
The group or resource is not in the correct state to perform the requested operation.

this means that your WiFi driver is outdated. Make sure your wifi adapter is not disabled in the device manager, because if it is then you will need to enable it before you can carry on. The best is to use automatic update for the driver so Windows will try to find it on Windows Update. If Windows is not able to find newer driver, try to find a newer driver on manufacturer’s web site (Atheros, Intel, Realtek, etc…).

You can easily test if your WiFi card is supported using command

netsh wlan show drivers

If you see line:

Hosted network supported  : Yes

it means your WiFi card will work.

When Hosted Networking is started successfully, we need to tell Windows to share PIA's VPN connection. To do that, click on WiFi signal bars icon in your system tray (near the clock). It will show something similar to:

image

Click on “Open Network and Sharing Center” and then click on Change adapter settings:

image

This image has been resized to fit in the page. Click to enlarge.

 

If you see just a list view, the best is to switch your view to Tiles or Details. This way you will be able to identify network adapters easier:

image

This image has been resized to fit in the page. Click to enlarge.

 

We are looking for 'Local Area Connection 2' adapter. It will probably not have that name on your computer, but you will recognize it by “TAP-Win32 Adapter V9″. Right click on 'Local Area Connection 2' adapter and select Properties:

image

This image has been resized to fit in the page. Click to enlarge.

 

Click on Sharing tab, check box “Allow other network users to connect through this computer’s Internet connection”, from the drop down box select virtual WiFi adapter – I have renamed it to Virtual AP, thus name on your computer will be different. However  – you can easily find it on the previous screenshot – it has description “Microsoft Virtual WiFi Miniport Adapter”. Once finished, click on OK button.

image

This image has been resized to fit in the page. Click to enlarge.

 

The last step is to connect to Private Internet Access's VPN. Once you are connected, 'Local Area Connection 2' adapter will change its state as well.

image

 

Now connect to network “Test” using password “password” from your wireless phones. All your devices connected to network “Test” will use PIA's VPN.

Unfortunately, if you restart your computer or put it into sleep, Windows will disable virtual Access Point. You will need to run just this command again:

netsh wlan start hostednetwork

There are a few programs which can automate all this and help you manage virtual hosted network much easier.  Two such free program can be found here:

Free: http://virtualrouter.codeplex.com/

Paid: http://www.connectify.me/

The list of supported WiFi cards:

http://virtualrouter.codeplex.com/wikipage?title=Supported Devices

Finally, If you do want to stop the Virtual Wifi miniport adapter its so easy all you do is go to the command prompt as a admin and type this "netsh wlan stop hostednetwork" with no quotes. than type this "netsh wlan set hostednetwork mode=disallow".

credits to https://www.privateinternetaccess.com/forum/index.php?p=/discussion/316/share-private-internet-access-vpn-with-all-your-wireless-devices/p1

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How do I change my remember password options in Google Chrome

Manage your website passwords This article applies to the Google Chrome browser on Windows,...

Change time is Gmail

Correct Your Gmail Time Zone To set your Gmail time zone: Click the gear in your Gmail's...

How to speed up Windows XP use at your own risk

Warning: occasionally people break their PC badly by using this list of suggestions. Usually...

How to run cmd in escalated mode with admin rights to modify firewall

a solution: runas /user:administrator@domainname.local cmd then in the resulting command...

How do I enable auto login in Windows

This article describes how to configure Windows to automate the logon...