How to turn a computer into a router: sharing internet via cable and Wi-Fi

It's quite common for a desktop computer to be the only source of internet access, while other devices require a connection. This could be a temporary solution for an office or the only outlet in a private home where the ISP has installed twisted pair Only to one room. A standard router can break, burn out, or simply be unavailable when absolutely necessary.

Fortunately, the Windows operating system has built-in tools that let you turn a regular PC into a fully-fledged gateway. You can broadcast a signal to smartphones, tablets, and laptops using either a wireless adapter or a wired connection. In this guide, we'll cover all the details of creating such a connection, including hidden network interface settings.

To implement your plan, you won't need complex programs or paid utilities. Standard control panel tools and a basic understanding of how computers exchange data are sufficient. The key is having at least one working network adapter, and ideally two: one to receive the signal from the ISP and one to distribute it.

⚠️ Attention: Antivirus software or third-party firewalls may be blocking sharing features. If the settings are applied but the internet still doesn't work, try temporarily disabling your network protection to test.

Necessary equipment and driver training

Before you begin software setup, you need to ensure your hardware is physically ready. Your computer must have a network card to connect to your ISP. If you plan to share your internet connection via cable with another device (such as a laptop or gaming console), you'll need second network card or USB Ethernet adapter.

When sharing via Wi-Fi, one wireless module supporting hosted network mode is sufficient. However, for stable operation, the drivers must be installed correctly. The built-in universal drivers in Windows are often unstable, so it's best to download the latest versions from the motherboard or adapter manufacturer's website.

  • 📡 Network card 1: Connected to the provider (input signal).
  • 🔌 Network card 2: For distribution via cable (LAN port or USB adapter).
  • 📶 Wi-Fi adapter: Must support virtual access points (Virtual Wi-Fi technology).
  • 🧵 Ethernet cable: A working twisted pair cable of category 5e or higher for connecting devices.

Drivers are checked through the Device Manager. Click Win + X and select the appropriate menu item. There shouldn't be any unknown devices with yellow exclamation marks in the "Network Adapters" section. If there are any, the system won't be able to manage network traffic correctly.

📊 What type of connection do you plan to use?
Via a Wi-Fi adapter
Via the second LAN port
Via USB modem
I only have one Ethernet port.

Setting up sharing in Windows 10 and 11

The primary mechanism for connection forwarding is called Internet Connection Sharing (ICS). The logic is simple: you take an interface with internet access and allow other interfaces to use it. The system automatically reconfigures IP addresses and starts the DHCP service for clients.

First, open the Network Connections window. This can be done quickly by entering the command ncpa.cpl in the Run dialog box (called by the combination Win + R). A list of all available network adapters will open. Find the one that connects your computer to the Internet (usually called "Ethernet" or named after your ISP).

Right-click on the active connection and select "Properties." Go to the "Sharing" tab. Here, check the box next to "Allow other network users to connect through this Internet connection." A drop-down list will appear below, where you need to select home network connection - this is exactly the adapter that will distribute the signal.

☑️ Check access settings

Completed: 0 / 1

After clicking the "OK" button, the system will warn you that the gateway IP address will be changed to 192.168.137.1This is standard behavior for ICS mode. The network adapter selected for sharing will receive a static address, and the computer will begin assigning addresses to all connected devices. If you're connecting a device via cable, it should receive the settings automatically.

⚠️ Attention: Carrier interfaces and tariff plan terms may vary. Some providers bind access to the MAC address of the first connected device. In this case, you may need to clone the MAC address or contact technical support to reset the binding.

Creating a virtual access point via the command line

If the classic Control Panel method doesn't work or you need more flexible configuration, you can use the command line. This method is especially useful when you need to create a Wi-Fi network, but the standard "Mobile Hotspot" interface doesn't function correctly. We'll use a utility netsh.

Launch Command Prompt as administrator. Enter the following command to check for hosted network support: netsh wlan show driversIn the system response, look for the line "Hosted Network Support." If it says "Yes," then your adapter can operate in router mode. If it says "No," you'll need to update your drivers or replace your adapter.

netsh wlan set hostednetwork mode=allow ssid=MyNetwork key=MyPassword123

In this team MyNetwork - this is the name of your future network, and MyPassword123 — password. After entering the command, start the network with the command netsh wlan start hostednetworkA new virtual adapter, "Wireless Network," will now appear in the list of network connections. You'll need to enable sharing for it in its properties, as described in the previous section, selecting your primary internet connection as the source.

What to do if the network does not start?

If an error occurs during startup, try updating your wireless adapter driver. The issue may also be with the Internet Connection Sharing (ICS) service, which should be running and set to Automatic.

Setting up static IP and DNS for clients

Sometimes automatic address assignment (DHCP) fails, and the connected device sees the network but reports "No internet access." In this case, manually assigning IP addresses to the receiving device helps. This eliminates negotiation errors between the distributing computer and the client.

On the computer that distributes the Internet (the host), the gateway address usually becomes 192.168.137.1On the client device (for example, a laptop connected via cable), you need to set an address from the same subnet, but with a different last digit. It's also important to specify DNS servers, otherwise pages won't open, although the connection will be established.

Parameter Value for Host (Distributes) Value for Client (Accepts)
IP address 192.168.137.1 (automatic) 192.168.137.2 (manually)
Subnet mask 255.255.255.0 255.255.255.0
Main gateway - 192.168.137.1
DNS server 1 8.8.8.8 8.8.8.8

To configure the client, go to the protocol properties IPv4 in Network Connections. Select "Use the following IP address" and enter the data from the table. Pay special attention to the "Default gateway" field—it should contain the address of the computer that is sharing the Internet. In the DNS field, you can enter Google addresses (8.8.8.8) or Yandex (77.88.8.8), which often solves problems with opening websites.

Diagnosing problems and resetting network settings

Even with proper configuration, conflicts can still occur. The issue is often rooted in the DNS cache or Windows service failures. If you've followed the instructions and the devices still can't see each other, try resetting the network settings. This will restore all settings to factory defaults and restart key services.

Open a command prompt as administrator and run several commands in sequence. First, reset the TCP/IP stack, then flush the DNS cache and reset Winsock settings. These steps are safe, but will require a computer restart for the changes to take effect.

netsh int ip reset

ipconfig /flushdns

netsh winsock reset

After rebooting, recheck your sharing settings. Sometimes antivirus software blocks bridging between interfaces. Try completely disabling your third-party antivirus and the built-in Windows firewall while troubleshooting. If the internet connection returns after this, you need to add an exception rule in the security settings.

  • 🔄 Reset TCP/IP: Clears data transfer protocol errors.
  • 🧹 Flush DNS: Removes old domain name records.
  • 🛠️ Winsock reset: Restores the Windows network API.
  • 🔒 Firewall: Check if it is blocking the "Common Access Service".

Another common problem is IP address conflicts. If there is already a device with the same address on your local network 192.168.137.1, Windows won't be able to assign it to itself. In this case, you'll have to change the address range through the registry, but that's a task for advanced users. It's easier to try reconnecting the cable or rebooting both devices.

Alternative methods and specialized software

If Windows' built-in tools seem too complex or unstable, there are third-party management programs available. They automate the process, creating a graphical interface for managing virtual access points. These utilities often bypass driver limitations and provide convenient client control.

One of the popular programs is Connectify HotspotIt not only allows you to distribute Wi-Fi but also monitor traffic, limit client speeds, and create secure networks. However, it's important to remember that full versions of such programs are usually paid, while free versions have speed or runtime limitations.

You can also consider using Linux as a router if you have an old laptop. Distributions like pfSense or even Ubuntu with a customized one iptables They can turn any computer into a powerful enterprise-class router. However, for home use, this is often overkill and requires in-depth knowledge of the Linux command line.

⚠️ Attention: When using third-party software, make sure you download it from the developer's official website. Fake versions of "cracks" often contain miners or viruses that exploit your internet connection.

In conclusion, it's worth noting that turning a computer into a router is a great temporary solution. However, for permanent operation, it's better to purchase full-fledged network equipment. The computer must be constantly on to distribute data, which increases power consumption and wears out the hardware. However, knowing these settings can save the day in a critical moment.

Why do connected devices say "No Internet access"?

Most likely, the receiving device doesn't have a DNS server configured or the gateway is incorrect. Check that the client's IPv4 settings are set to the IP address of the distributing computer (usually 192.168.137.1) and that DNS is configured automatically or manually (8.8.8.8).

Is it possible to share the Internet if I only have one LAN port?

Yes, but only via Wi-Fi if your computer has a wireless module. If you don't have Wi-Fi, you'll need a USB-LAN adapter. Without a second physical or virtual interface, sharing to another wired device won't work, as a single port can't simultaneously receive and transmit data on different network segments without complex VLAN tagging.

Does sharing the Internet affect the speed of the computer itself?

Yes, some CPU time and network resources are used to process packets for other devices. If you're downloading large files or playing online games, your speed may drop and your ping may increase, especially if client devices are actively consuming data (updates, streams).