How do I Set Up Windows 11 Hotspot Port Forwarding

Port forwarding is possible with a simple command line

Reading time icon 2 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

How to set up port forwarding on Windows 11 hotspot

Setting up a mobile hotspot on Windows 11 and configuring port forwarding can help you manage network traffic more effectively. Hereโ€™s a step-by-step guide to achieve this.

How do I set up Windows 11 hotspot and configure port forwarding?

1. Set up a mobile hotspot

  1. Pressย Win + Iย to open the Settings app.
  2. Click on Network & Internet, then select Mobile hotspot to turn it on.
  3. Under Share my Internet connection from, select the network adapter you want to use (e.g., Wi-Fi or Ethernet).
  4. Toggle the Share my Internet connection with other devices switch to On.
  5. Click on Edit under the Properties section.
  6. Enter a network name (SSID) and password for your hotspot, then click Save.

2. Configure the port forwarding

  1. Pressย Win + Xย and select Windows Terminal (Admin) or Command Prompt (Admin).
  2. If prompted by User Account Control (UAC), click โ€œYesโ€ to allow changes.
  3. Use theย netshย command to add a port forwarding rule. Replace the placeholders with your specific details: netsh interface portproxy add v4tov4 listenport=[ListenPort] listenaddress=[ListenAddress] connectport=[ConnectPort] connectaddress=[ConnectAddress]
  4. Example: netsh interface portproxy add v4tov4 listenport=8080 listenaddress=192.168.1.1 connectport=80 connectaddress=192.168.1.100
  5. This command forwards traffic from port 8080 on the hotspot to port 80 on the connected device with IP address 192.168.1.100.
  6. To verify the rule, use the following command: netsh interface portproxy show all
  7. Open Windows Defender Firewall by typingย firewallย in the Start menu and selecting Windows Defender Firewall with Advanced Security.
  8. Click on Inbound Rules and then New Rule.
  9. Select Port and click Next.
  10. Choose TCP or UDP and specify the port number you used in the port forwarding rule.
  11. Allow the connection and follow the prompts to complete the rule setup.
  12. Connect a device to your Windows 11 hotspot.
  13. Use a tool likeย telnetย or a web browser to test the port forwarding setup by accessing the forwarded port.

By following these steps, you should be able to set up a mobile hotspot on Windows 11 and configure port forwarding to manage network traffic effectively.

For more information, we have a full guide on how to set up and manage a Windows 11 hotspot. If you change your mind, you may also block the Windows 11 hotspot easily.

Let us know in the comments below if you managed to set up port forwarding on your Windows 11 hotspot.

More about the topics: Network, WiFi Hotspot, Windows 11

User forum

0 messages