Virtual Router / Wireless Hotspot using your PC

To host a Virtual Router / Access Point with your PC, you need a compatible Wireless Adapter that supports Hosted Network.

 

Requirement:

  • Windows 7 or later
  • Wireless Network adapter with HostedNetwork support.

 

Check for hosted network support by running this in Command Prompt:

netsh wlan show drivers

netsh_wlan-show-drivers

If it says No, your network card does not support Hosted Network, or you need to update your drivers.

 

Configure the wireless Hosted Network settings:

netsh wlan set hostednetwork ssid=MySSID key=MyWiFiKey

You will only need to do this once. It will retain this settings even if you reboot your PC.

 

Start the wireless Hosted Network (Run as Administrator):

netsh wlan start hostednetwork

 

Stop the wireless Hosted Network:

netsh wlan stop hostednetwork

 

Set up Internet Connection Sharing (ICS)

Next, bring up the properties window of the Network Adapter that has Internet Connection.

Local-Area-Connection

Check “Allow other network users to connect through this computer’s Internet connection”. Now select the Network Adapter to share to (in my case, HostedNetwork).

Local-Area-Connection-Sharing

Once properly configured, your Hosted Network Status should show Internet connectivity.

Hosted-Network-Status-Internet

 

Supported Devices

Supported Network Adapters
Intel® Centrino® Wireless-N 1030
Intel® Centrino® Wireless-N 1000
Intel® Centrino® Advanced-N + WiMAX 6150
Intel® Centrino® Advanced-N 6230
Intel® Centrino® Advanced–N + WiMAX 6250
Intel® Centrino® Advanced–N + WiMAX 6250
Intel® Centrino® Advanced–N + WiMAX 6250
Intel® Centrino® Advanced-N 6200
Intel® Ultimate N WiFi Link 5300
Intel® WiFi Link 5100

 

Not Supported Devices

Unsupported Network Adapters
Intel® PRO/Wireless 3945ABG Network Connection
Intel® Wireless WiFi Link 4965AGN
Intel® Centrino® Wireless-N 100
Intel® Centrino® Wireless-N 130

 

More Information

DD-WRT: OpenVPN

OpenVPN is easy to configure on the newer DD-WRT firmwares.

On the DD-WRT revision 18946M, there is a Netmask bug (refuse to accept new Netmask), enter the Netmask in Router (TUN) Server Mode before switching to Bridge (TAP) Server Mode.

Use this OpenVPN guide to generate the required certificates: http://openvpn.net/index.php/open-source/documentation/howto.html#pki

Notice that I’m using TCP port 443, that allows me to bypass some firewalls 😉