sodcalculator

10 Tech How-To

How to Change NAT Type on PC (Windows)

Guide 10-58662 · Updated · Step by step

If your PC games keep failing to connect, you can’t hear friends in party chat, or matchmaking takes forever, a strict or moderate NAT type is often the culprit. This guide walks you through the practical ways to change your NAT type on a Windows PC—from enabling UPnP to setting up port forwarding—so you can get back to playing online.

What You’ll Need

  • Access to your router’s admin page (usually at 192.168.1.1 or 192.168.0.1). Check the sticker on your router for the exact address and login.
  • Your PC’s local IP address (we’ll show you how to find it).
  • Administrator access on your Windows PC.
  • Your router’s manual or a web search for the exact menu names, as they vary by brand.

Step-by-Step

  1. Check your current NAT type. In Windows, open the Xbox Console Companion app (or the newer Xbox app) and go to Settings > Network. It will display your NAT type as Open, Moderate, or Strict. Alternatively, run ipconfig in Command Prompt to see your network details, but the Xbox app gives the clearest reading.
  2. Enable UPnP (Universal Plug and Play). Log into your router’s admin page. Look for a section called “Advanced,” “Gaming,” or “Network Settings.” Find UPnP and toggle it to Enabled. Save the settings and restart your PC and router. This is the easiest fix and works for most people.
  3. If UPnP doesn’t work, set up port forwarding. First, you need a static IP address for your PC so the forwarded ports always go to the right device. Go to Windows Settings > Network & Internet > Wi-Fi (or Ethernet) > your connection > IP assignment > Edit. Change it from DHCP to Manual, enable IPv4, and enter a static IP like 192.168.1.50 (use your router’s subnet). Set the subnet mask (usually 255.255.255.0) and default gateway (your router’s IP).
  4. Find the ports your game or app uses. Search online for “[game name] port forwarding” or check the official support page. For example, Call of Duty: Warzone commonly uses TCP 3074 and UDP 3074. Write down the port numbers and whether they are TCP, UDP, or both.
  5. Add the port forwarding rule. In your router’s admin page, go to “Port Forwarding” (sometimes under “Virtual Server” or “Applications & Gaming”). Create a new rule. Enter a name (e.g., “Warzone”), your PC’s static IP address, the port range (or single port), and the protocol (TCP, UDP, or both). Save the rule.
  6. Restart everything. Restart your PC and router. Then re-check your NAT type in the Xbox app. It should now show Open.
  7. If you still have issues, try enabling DMZ (Demilitarized Zone). This is a more aggressive option that exposes your PC to the internet, so use it only as a last resort. In your router settings, find “DMZ” and enter your PC’s static IP address. This forwards all incoming traffic to your PC, which usually forces an Open NAT but reduces firewall protection.
  8. Update your router’s firmware. Outdated firmware can cause NAT issues. Check your router’s admin page for a “Firmware Update” option and apply any available updates.

Common Mistakes

  • Using a dynamic IP for port forwarding. If your PC’s IP changes, the forwarded ports won’t reach it. Always set a static IP first.
  • Forwarding the wrong protocol. Some games need both TCP and UDP. If you only forward one, the NAT type won’t change. Double-check the game’s requirements.
  • Entering the wrong IP address. A typo in your PC’s IP or the router’s IP will break the rule. Verify the IP with ipconfig (look for IPv4 Address).
  • Forgetting to save and reboot. Many router changes only take effect after a reboot. Always restart your router and PC after making changes.
  • Enabling UPnP and port forwarding at the same time. This can cause conflicts. Use one method at a time.

Tips

  • Keep your router’s firmware updated. Manufacturers often fix NAT-related bugs in updates.
  • Use a wired connection. Ethernet is more stable than Wi-Fi and can reduce NAT-related connection drops.
  • Disable IPv6 if you’re having trouble. Some games don’t handle IPv6 well. You can disable it in Windows Network Settings, but remember to re-enable it if you need it.
  • Check your firewall. Windows Defender Firewall or third-party antivirus can block game traffic. Add your game executable to the allowed list in Windows Defender Firewall (Control Panel > System and Security > Windows Defender Firewall > Allow an app through the firewall).
  • Contact your ISP. If you’re on a carrier-grade NAT (CGNAT), your ISP is the one blocking you. You may need to request a public IP address or a static IP.

Troubleshooting

  • NAT still shows Strict after all steps. Your ISP might be using CGNAT. Call them and ask for a public IP address. You can also check your router’s WAN IP—if it’s in the range 100.64.0.0 to 100.127.255.255, you’re behind CGNAT.
  • Port forwarding doesn’t work. Verify the rule is correct by using an online port checker tool. Enter the port number and your public IP (find it by searching “what is my IP” on Google). If the port shows closed, the rule is wrong or your ISP is blocking it.
  • UPnP is enabled but NAT is still Moderate. Some routers have a buggy UPnP implementation. Try disabling UPnP and using port forwarding instead.
  • Can’t access your router’s admin page. Make sure you’re connected to the network (wired or Wi-Fi). Try a different browser or clear your cache. If you’ve changed the password and forgotten it, reset the router to factory defaults with the reset button.
  • Game works but party chat doesn’t. Some games require specific ports for voice chat. Look up the voice chat ports for your game and forward them as well.

Frequently Asked Questions

What is NAT type?

NAT (Network Address Translation) is how your router translates your private IP address to a public one. The type (Open, Moderate, Strict) determines how freely your PC can connect to other players. Open is best for gaming.

Is it safe to use DMZ?

DMZ exposes your PC to the internet, which can be risky. Only use it temporarily to test if it fixes your NAT, and disable it once you’re done. A better long-term solution is port forwarding.

Will changing NAT type improve my ping?

No, NAT type affects connectivity, not latency. If you have high ping, the issue is likely your internet speed or distance to the game server, not NAT.

Can I change NAT type without a router?

If you’re using a mobile hotspot or a public network, you usually can’t change NAT type. You need access to the router’s settings. You can try using a VPN, but that’s not guaranteed to work.

Why does my NAT type keep changing?

This often happens because your PC’s IP changes (if you didn’t set a static IP) or your router’s UPnP is unstable. Set a static IP and use port forwarding for a consistent result.

Does Windows 10 or 11 have a built-in NAT type changer?

No, Windows doesn’t have a direct setting to change NAT type. You have to configure your router or use the steps above. The Xbox app only shows you the current type.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →