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
- Press the Xbox button to open the guide.
- Open Profile & system Settings General Network settings.
- Read NAT Type under Current network status. Also look for Double NAT detected or UPnP not successful there.
- 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
- Your console or PC. It shows the NAT type, but most fixes happen in the router.
- Your router. It shares one internet address with all your devices and stops connections it didn’t ask for.
- Your provider’s box. If it is a router too, your traffic goes through two routers: double NAT.
- 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.
- 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.
- Sign in with the admin password (often on the label too).
- Find UPnP. It’s often under Advanced, NAT Forwarding, WAN or Network.
- 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.
- 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.
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.
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.
- Turn off any VPN.
- Find the internet (WAN) IPv4 address on your router’s status page.
- Search for “what is my IP” and compare it with the IPv4 address shown there (not the IPv6 one).
- If they match, this isn’t the cause. If they differ, something else shares your address: your provider’s box (step 2) or your provider’s network.
- 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.
- In the router’s settings, find DHCP reservation (also called Address Reservation or LAN).
- Pick your console from the list of connected devices.
- 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.
- In the router’s settings, find Port Forwarding. It may be called Virtual Servers, NAT Forwarding or Gaming.
- Add a rule with the port (or range), the protocol (TCP, UDP or both) and your console’s address from step 4.
- Save, and repeat for every port in the table below.
- 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.
- Turn off UPnP and remove the port forwarding rules first.
- Make sure the console has a fixed address (step 4).
- In the router’s settings, find DMZ (often under Advanced, NAT Forwarding or Firewall).
- Turn it on, enter the console’s address and save.
- 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.
Lag or rubber-banding even with an Open NAT? See why your ping is high and how to fix 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). 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.