---
title: "How To Change NAT Type on Your Router (Strict to Open)"
description: "See your NAT type on Xbox, PS5, PC or Switch, learn what Open, Moderate and Strict mean, then change it on your router with UPnP or port forwarding."
url: https://devicetests.com/how-to-change-nat-type-on-router
language: en
---

# How To Change NAT Type on Router

By Jacob Hicks · Updated November 4, 2026 · First published June 4, 2022

Short answer

Your router usually decides the NAT type, so that’s where you change it. Turn on **UPnP** in the router, restart the console and test again. Still Strict or Moderate? Fix a double NAT if you have two routers, then forward the console’s ports.

## Where to see your NAT type

Check it before you change anything, and again after each step.

### Xbox

1. Press the **Xbox** button to open the guide.
2. Open **Profile & system** **Settings** **General** **Network settings**.
3. Read **NAT Type** under **Current network status**. Also look for **Double NAT detected** or **UPnP not successful** there.
4. After each change, select **Test NAT type** to check again.

### PS5 and PS4

**PS5:** open **Settings** **Network** **Connection Status** and select **Test Internet Connection**. The result shows the **NAT Type**.

**PS4:** open **Settings** **Network** and select **Test Internet Connection**.

### PC

**Windows 10:** open **Settings** **Gaming** **Xbox Networking**. It shows the **NAT type** and **Server connectivity** for games on the Xbox network.

**Windows 11 and other games:** use the game’s own connection test, if it has one. The game’s support page names the menu.

### Switch

From the **HOME Menu**, open **System Settings** **Internet** and select **Test Connection**. The result shows the **NAT Type**, from A to F. This works the same on Switch and Switch 2.

NAT Type D or F? Nintendo suggests turning off IPv6 on the console: open **System Settings** **Internet** **Internet Settings**, select your network, then **Change Settings**, and turn off **IPv6 Connection**.

## What Open, Moderate and Strict mean

Your NAT type decides who can connect to you: who you can play with, hear in party chat or host a match for. These are Xbox’s names and meanings:

| NAT type | What it means |
| - | - |
| **Open** | You can play with anyone, and you can host. |
| **Moderate** | You can play with some players. You’re usually not the host. |
| **Strict** | You can only play with players who have Open. You can’t host. |

Other consoles use other names:

- **PlayStation:** **Type 1** means the console is connected straight to the internet, with no router. **Type 2** means it connects through a router, which is the usual good result at home. With **Type 3**, Sony says you may not reach other consoles, or online features may be limited.
- **Switch:** **A** is best. **B** works with most players. **C** may have trouble with some. **D** can generally only connect to players with A, and **F** can’t connect to other players at all.

## How the NAT type is set

_A console plugged into a router, the router plugged into the internet provider's box, and the box connected to the internet. A connection from the internet arrives at the router, which passes it on to the console._

1. Your console or PC. It shows the NAT type, but most fixes happen in the router.
2. Your router. It shares one internet address with all your devices and stops connections it didn’t ask for.
3. Your provider’s box. If it is a router too, your traffic goes through two routers: double NAT.
4. A connection from another player. UPnP or a forwarded port tells the router to pass it on to the console.

## Step 1: Turn on UPnP

UPnP lets the console open the ports it needs by itself. Most routers have it on already.

1. On a phone or computer on your network, open the router’s app or its settings page. The address is usually on the router’s label, for example **192.168.0.1** or **192.168.1.1**.
2. Sign in with the admin password (often on the label too).
3. Find **UPnP**. It’s often under **Advanced**, **NAT Forwarding**, **WAN** or **Network**.
4. If it’s off, turn it on and save. If it’s already on, Xbox Support suggests turning it off, saving, restarting the router, then turning it back on and saving again.
5. Restart the router and the console, then test the NAT type again.

Some routers have no UPnP setting. AT\&T gateways are one example: see [how to open ports on an AT\&T router](https://devicetests.com/how-to-enable-upnp-on-att-router).

## Step 2: Fix double NAT

With your provider’s box plus your own router, traffic passes through two routers. Xbox shows **Double NAT detected**, and opening ports on only one router doesn’t help. Only one box at home? Go to step 3.

### Bridge the provider's box

Keeps your own router

Follow your provider’s steps for **bridge mode** or **IP Passthrough** (the name and setup depend on the box). Then set up UPnP or port forwarding on your own router.

### Make your router an access point

Keeps the provider's box

Put your own router in **access point mode**, so only the provider’s box shares the address. Then set up UPnP or port forwarding there. See [TP-Link’s access point mode](https://devicetests.com/how-to-bridge-a-tp-link-router).

Not sure how? Your provider can tell you how to bridge their box.

## Step 3: Check if your provider shares your address

Some providers share one internet address between many customers (carrier-grade NAT). Then no setting at home can open your NAT, so check this before you forward ports.

1. Turn off any VPN.
2. Find the internet (WAN) **IPv4** address on your router’s status page.
3. Search for “what is my IP” and compare it with the **IPv4** address shown there (not the [IPv6](https://devicetests.com/ipv4-vs-ipv6) one).
4. If they match, this isn’t the cause. If they differ, something else shares your address: your provider’s box ([step 2](https://devicetests.com/how-to-change-nat-type-on-router#step-2-fix-double-nat)) or your provider’s network.
5. If it’s your provider’s network, ask them for a public IP address. Xbox Support gives the same advice.

## Step 4: Give your console a fixed address

A forwarded port sends traffic to one address (IP address). If the console gets a new address, the rule stops working.

1. In the router’s settings, find **DHCP reservation** (also called **Address Reservation** or **LAN**).
2. Pick your console from the list of connected devices.
3. Reserve its current address and save. Write it down for step 5.

## Step 5: Forward the console’s ports

Do this if UPnP didn’t give you an Open NAT.

> One method at a time
>
> Xbox Support says not to mix UPnP, port forwarding and DMZ. Turn UPnP off in the router when you forward ports by hand.

1. In the router’s settings, find **Port Forwarding**. It may be called **Virtual Servers**, **NAT Forwarding** or **Gaming**.
2. Add a rule with the port (or range), the protocol (**TCP**, **UDP** or both) and your console’s address from step 4.
3. Save, and repeat for every port in the table below.
4. Restart the console and test the NAT type again.

| Console | TCP ports | UDP ports |
| - | - | - |
| **Xbox** | 53, 80, 3074 | 53, 88, 500, 3074, 3544, 4500 |
| **PS5** | 80, 443, 3478, 3479, 3480 | 3478, 3479, 49152–65535 |

Xbox adds UDP **9002** only if remote play fails on a Strict NAT. For a PC game, look up its ports on the game’s support page.

A port can only go to one device. Two consoles on the same ports can’t both be forwarded, so UPnP works better for them.

## Step 6: DMZ, as a last resort

DMZ (or **perimeter network**) sends every incoming connection to one device. It usually gives an Open NAT, but that device loses the router’s firewall. Use it only for a console, never for a computer with your files on it.

1. Turn off UPnP and remove the port forwarding rules first.
2. Make sure the console has a fixed address (step 4).
3. In the router’s settings, find **DMZ** (often under **Advanced**, **NAT Forwarding** or **Firewall**).
4. Turn it on, enter the console’s address and save.
5. Restart the console and test the NAT type again.

## Check your ping too

An Open NAT lets players connect to you. It doesn’t make the connection faster.

Test it now

Ping test

It measures the round-trip delay from this device to our server. It can’t measure your game server’s ping or packet loss.

[Open the ping test](https://devicetests.com/ping-test)

Lag or rubber-banding even with an Open NAT? See [why your ping is high and how to fix packet loss](https://devicetests.com/high-ping-and-packet-loss).

## Questions people ask

**Is it safe to turn on UPnP?**

For most homes, yes, and it’s the easiest way to an Open NAT. The risk is that any program on your network can open ports without asking. Keep your devices and router updated.

**Can I change NAT type without access to the router?**

Mostly not, because the router decides it. On a Switch, turning off **IPv6 Connection** can help (see [where to see your NAT type](https://devicetests.com/how-to-change-nat-type-on-router#where-to-see-your-nat-type)). On a network you don’t run, such as a college, dorm or hotel, ask the people who run it.

**Does a VPN change my NAT type?**

It can, usually for the worse, because most VPNs don’t let incoming connections through. Turn the VPN off on the console’s network if you need an Open NAT.

**Is NAT Type 2 good on PS5?**

Yes. Type 2 is the normal result for a console behind a home router. Only Type 3 limits who you can play with.

## Sources

- [Xbox: Troubleshoot NAT errors and multiplayer game issues](https://support.xbox.com/en-US/help/hardware-network/connect-network/xbox-one-nat-error)
- [Xbox: Double NAT detected in your network settings](https://support.xbox.com/en-US/help/hardware-network/connect-network/double-nat-detected)
- [Xbox: Network ports used by the Xbox network](https://support.xbox.com/en-US/help/hardware-network/connect-network/network-ports-used-xbox-live)
- [Xbox: Xbox network server connectivity on Windows is blocked (Xbox Networking)](https://support.xbox.com/en-US/help/hardware-network/connect-network/server-connectivity-xbox-app-displays-blocked)
- [PlayStation: PS5 error CE-107928-7 (Test Internet Connection path)](https://www.playstation.com/en-us/support/error-codes/ps5/ce-107928-7/)
- [PlayStation: PS5 error NW-102417-5 (ports to open)](https://www.playstation.com/en-us/support/error-codes/ps5/nw-102417-5/)
- [PS4 User's Guide: Test Internet Connection (NAT types)](https://manuals.playstation.net/document/gb/ps4/settings/nw_test.html)
- [Nintendo: How to use the internet connection test](https://en-americas-support.nintendo.com/app/answers/detail/a_id/22462/~/how-to-use-the-internet-connection-test)
- [Nintendo: Unable to connect with others online (NAT types)](https://en-americas-support.nintendo.com/app/answers/detail/a_id/22541/~/unable-to-connect-with-others-online)

## Test it yourself

Check your own device with a free test. It runs in your web browser.

- [Internet speed test](https://devicetests.com/internet-speed-test): Measure your download and upload speed.
- [Ping test](https://devicetests.com/ping-test): Measure how fast your connection responds.
- [Packet loss test](https://devicetests.com/packet-loss-test): Check whether your connection drops data.
