How to Change NAT Type on PC – Step‑by‑Step Guide
In this article
Yes, you can change the NAT type on a Windows PC by adjusting router settings, enabling UPnP or port forwarding, or placing the PC in the router’s DMZ, which opens the required ports for online gaming and voice chat.
What You’ll Need
- A computer running Windows 10 or later.
- Administrator access to your home router (you need the router’s IP address, username and password).
- An Ethernet cable (wired connection is recommended for reliable port forwarding).
- The list of ports required by the game or service you want to improve (most games publish this on their support pages).
- A web browser to log into the router’s web interface.
- Optional: a mobile device or another PC to verify the NAT type after changes.
Step‑by‑Step
- Identify your current NAT type. Open the game or service that reports NAT status (e.g., Xbox app, Steam, or a specific game’s network test). Note whether it shows Open, Moderate, or Strict. This baseline tells you which changes are still required.
- Find your router’s IP address. On Windows, open
Command Promptand typeipconfig. The line labeled “Default Gateway” shows the router’s local IP (commonly 192.168.0.1 or 192.168.1.1). - Log into the router’s admin page. Enter the default gateway address into a browser’s address bar. When prompted, use the admin username and password. If you never changed these, they are often “admin/admin” or printed on a sticker on the router. Change them later for security.
- Enable UPnP (Universal Plug and Play). Navigate to the section usually named Advanced, Network Settings, or Port Forwarding. Look for a toggle called “UPnP” and turn it on. Save the changes and reboot the router if the interface asks you to.
- Test the NAT type again. After the router restarts, launch the game’s network test. If the NAT is now Open, you are finished. If it remains Moderate or Strict, continue to the next steps.
- Assign a static IP address to your PC. Open
Settings > Network & Internet > Ethernet (or Wi‑Fi) > Change adapter options. Right‑click your active adapter, chooseProperties, selectInternet Protocol Version 4 (TCP/IPv4), clickProperties, then chooseUse the following IP address. Use an address within your router’s subnet (e.g., 192.168.1.100), set the subnet mask to 255.255.255.0, and set the default gateway to your router’s IP. Enter your DNS servers (Google’s 8.8.8.8 and 8.8.4.4 work fine). - Locate the port forwarding section. It is often under Advanced > NAT/QoS > Port Forwarding or similar. Click “Add New” or “Create Rule”.
- Enter the required ports. For each port range needed by your game, fill in:
- Service Name: a label like “Game‑Open‑NAT”.
- Port Range: the start and end port numbers (e.g., 3074‑3074 for Xbox Live).
- Protocol: TCP, UDP, or Both (choose Both unless the game specifies otherwise).
- Local IP: the static IP you assigned to your PC.
- Disable any double NAT. If you have a second router or a mesh system that also performs NAT, place the primary router in bridge mode or configure the secondary device to operate as an access point. Double NAT often forces a Strict NAT despite correct port forwarding.
- Adjust Windows Firewall. Open
Control Panel > System and Security > Windows Defender Firewall > Advanced settings. Create inbound rules for the same ports you forwarded, allowing them for both TCP and UDP. Also create matching outbound rules if the game explicitly requires them. - Reboot all equipment. Power‑cycle the router (unplug for 10 seconds), then restart your PC. This ensures the new settings are applied end‑to‑end.
- Retest the NAT type. Run the game’s network test again. If it now reports Open, the process succeeded. If it still shows Moderate, you may have missed a required port. If it remains Strict, proceed to the DMZ option.
- Place the PC in the DMZ (last resort). In the router’s interface, find the DMZ or “DMZ Host” setting. Enter the static IP of your PC and enable the DMZ. This forwards all inbound traffic to the PC, effectively opening every port. Save and reboot. Test the NAT again. Use DMZ only if port forwarding fails, and be aware it reduces the PC’s exposure to the router’s built‑in firewall.
Common Mistakes
- Setting the wrong IP address in port forwarding – the rule must point to the static IP you assigned, not the dynamic address your PC previously used.
- Leaving UPnP disabled after enabling it – some routers require a full reboot to activate the feature.
- Forwarding only TCP when the game also needs UDP (or vice‑versa) – always forward both unless documentation says otherwise.
- Using the same port range for multiple services, causing conflicts.
- Forgetting to disable double NAT, especially with ISP‑provided gateway routers combined with personal routers.
Tips
- Write down the ports you forward in a notebook or a digital note; you’ll need them again if you reset the router.
- If your router supports “Port Triggering,” you can use it as an alternative to static forwarding for games that open random high ports.
- Keep your router firmware up to date – manufacturers often improve NAT handling and security in updates.
- When using a wireless connection, consider a powerline adapter if running an Ethernet cable is impractical; the adapter still presents a wired interface to the router.
- After making changes, run a quick speed test to ensure your internet performance hasn’t been unintentionally throttled.
Troubleshooting
If the NAT type does not change after following the steps above, follow this systematic checklist:
- Restart the router and PC again. Power‑cycle both devices at least twice; some routers cache old NAT tables.
- Confirm the static IP is correct. Re‑run
ipconfigand verify the address matches the one used in port forwarding and DMZ settings. - Check for ISP‑level NAT. Some ISPs place a carrier‑grade NAT (CGN) before your home router. Call your ISP and ask if they can provide a public IP or a bridge mode.
- Verify that the ports are open. Use an online port checker (search “open port checker”) and input each port you forwarded. If the checker says the port is closed, the router rule is not applied correctly.
- Temporarily disable Windows Defender Firewall. Turn it off for a quick test; if NAT opens, you need to add proper inbound rules.
- Look for conflicting software. VPN clients, third‑party firewalls, or parental‑control apps can block inbound traffic. Disable them while testing.
- Reset the router to factory defaults. As a last resort, restore default settings, then redo the steps from scratch, ensuring you write down any custom settings you need later.
Frequently Asked Questions
What is the difference between Open, Moderate, and Strict NAT?
Open NAT allows unrestricted inbound connections, giving the best multiplayer experience. Moderate NAT permits some connections but may cause matchmaking delays. Strict NAT blocks most inbound connections, leading to limited matchmaking and voice chat issues.
Do I need to open every port listed for a game?
Only the ports the game explicitly requires need to be opened. Opening extra ports does not improve performance and can reduce security.
Can I change NAT type without accessing the router?
Enabling UPnP from the router is the simplest method that does not require manual port entry. However, you still need to log into the router at least once to turn UPnP on.
Will using a VPN affect my NAT type?
Yes. A VPN creates its own NAT layer, which often results in a Strict NAT status for games unless the VPN provider supports port forwarding.
Is placing my PC in the DMZ safe?
DMZ forwards all inbound traffic to the PC, bypassing the router’s firewall. It works but reduces protection; use it only if other methods fail and keep the PC’s own firewall and antivirus enabled.