How to Change NAT Type: UPnP, Port Forwarding, VPN, & More (2024)

Download Article

Learn how to change your NAT to open for the best gaming experience

Co-authored byLuigi Oppidoand Hannah Dillon

Last Updated: February 12, 2024Fact Checked

Download Article

  • UPnP (All Platforms)
  • |
  • Port Forwarding (All Platforms)
  • |
  • Network Discovery (Windows)
  • |
  • VPN Hotspot (Windows 10)
  • |
  • Router Configuration File (Advanced)
  • |
  • DMZ Mode (Not Recommended)
  • |
  • Tips
  • |
  • Warnings

If you play a lot of online games, you may have read about NAT Type when it comes to game connectivity. Your NAT Type determines which users you can connect to based on their NAT Type. If you're trying to get the most seamless gaming experience, you may want to have an Open NAT Type, which allows you to connect with all other NAT Types, but it can leave your computer at risk. However, if you change your NAT Type safely and responsibly, the chance of negative side effects is low. Keep reading this article to learn how to change your NAT Type depending on your device.

Things You Should Know

  • You may need to change your NAT Type for reasons other than gaming, including attending a video conference.
  • Port forwarding and enabling UPnP are relatively easy methods but can leave your computer open to risks if you don't disable it once you're done.
  • Using a VPN with a mobile hotspot is the safest way to change your NAT Type, but you can only change to a Moderate NAT Type this way.

Method 1

Method 1 of 6:

UPnP (All Platforms)

Download Article

  1. 1

    Find your router's IP address. To access your router, you'll need to obtain your router's default IP address. You can find your IP address in multiple locations:

    • Printed on your router, usually on the back or on the bottom.
    • On Windows, press Ctrl+R and type cmd, then press Enter. In the Command Prompt, write ipconfig and press Enter. The router's default IP address is listed under Default Gateway.
    • On Mac, click the Apple menu and select System Settings or System Preferences (depending on your macOS version). Select Wi-Fi or Ethernet depending on your connection type, then select Details…. The router's IP address will be listed next to "Router."
  2. 2

    Enter the IP address into your browser's address bar. Copy and paste the IP address into the address bar and press Enter. This will take you to your router sign-in screen.

    Advertisem*nt

  3. 3

    Log in with your router's credentials. If you haven't changed these, the username and password may be on your router's information sticker or in your router information from your ISP. You can also use routerpasswords.com to find your router's default username and password, or you may have to contact your ISP to get this information.

  4. 4

    Go to your router settings. The UPnP setting may be found under Settings, Network Settings, or Advanced Settings. The location will vary based on the model and manufacturer of router that you have.

  5. 5

    Enable UPnP. The UPnP option may also be called "Universal Plug and Play."[1]

  6. 6

    Restart your router and device. After restarting, check to ensure your NAT type is no longer strict.

  7. Advertisem*nt

Method 2

Method 2 of 6:

Port Forwarding (All Platforms)

Download Article

PC & Mac

  1. 1

    Find your router's IP address. To access your router, you'll need to obtain your router's default IP address. You can find your IP address in multiple locations:

    • Printed on your router, usually on the back or on the bottom.
    • On Windows, press Ctrl+R and type cmd, then press Enter. In the Command Prompt, write ipconfig and press Enter. The router's default IP address is listed under Default Gateway.
    • On Mac, click the Apple menu and select System Settings or System Preferences (depending on your macOS version). Select Wi-Fi or Ethernet depending on your connection type, then select Details…. The router's IP address will be listed next to "Router."
  2. 2

    Enter the IP address into your browser's address bar. Copy and paste the IP address into the address bar and press Enter. This will take you to your router sign-in screen.

  3. 3

    Log in with your router's credentials. If you haven't changed these, the username and password may be on your router's information sticker or in your router information from your ISP. You can also use routerpasswords.com to find your router's default username and password, or you may have to contact your ISP to get this information.

  4. 4

    Obtain your computer's IP address. How you get this differs depending on whether you have a Windows or Mac computer:

    • On Windows, press Ctrl+R and type cmd, then press Enter. In the Command Prompt, write ipconfig and press Enter. Look for the IP address listed after IPv4.
    • On Mac, click the Apple menu and select System Settings or System Preferences (depending on your macOS version). Select Network and click on your connection, then click Advanced. Click the TCP/IP button to view the device IP.
  5. 5

    Navigate to your router's port forwarding menu. The location may change depending on your router manufacturer and model, but most routers will list it under Security or Advanced settings.

  6. 6

    Input ports. Unlike consoles, there is not one set port you can set for your device. Instead, if you were provided port information, use that when setting up your port forwarding rules. Otherwise, you can use portforward.com to find the specific ports for the game you are looking to play.

    • Each port forwarding rule will require your PC or Mac's IPv4 address and port numbers.
  7. 7

    Save the changes in your router settings. Ensure to save before you close out of your settings or you'll have to go back and re-enter the settings.

  8. 8

    Restart your router and device. After restarting, check to ensure your NAT type is no longer strict.

  9. Advertisem*nt

Playstation

  1. 1

    Find your router's IP address. To access your router, you'll need to obtain your router's default IP address. You can find your IP address in multiple locations:

    • Printed on your router, usually on the back or on the bottom.
    • On Windows, press Ctrl+R and type cmd, then press Enter. In the Command Prompt, write ipconfig and press Enter. The router's default IP address is listed under Default Gateway.
    • On Mac, click the Apple menu and select System Settings or System Preferences (depending on your macOS version). Select Wi-Fi or Ethernet depending on your connection type, then select Details…. The router's IP address will be listed next to "Router."
  2. 2

    Enter the IP address into your browser's address bar. Copy and paste the IP address into the address bar and press Enter. This will take you to your router sign-in screen.

  3. 3

    Log in with your router's credentials. If you haven't changed these, the username and password may be on your router's information sticker or in your router information from your ISP. You can also use routerpasswords.com to find your router's default username and password, or you may have to contact your ISP to get this information.

  4. 4

    Obtain your console's IP. For Playstation, go to Settings > Network > View Connection Status.

  5. 5

    Navigate to your router's port forwarding menu. The location varies depending on router manufacturer and model, but most routers list it under Security or Advanced settings.

  6. 6

    Fill out the TCP and UDP protocols. If you can select "both," this is the preferred option. You'll also need to enter your device's IP address.

    • TCP: 1935, 3478, 3479, or 3480
    • UDP: 3074, 3478, 3479, or 3480
    • Both: 1935, 3074, 3478, 3479, or 3480
  7. 7

    Save the changes in your router settings. Ensure to save before you close out of your settings or you'll have to go back and re-enter the settings.

  8. 8

    Restart your router and device. After restarting, check to ensure your NAT type is no longer strict.

  9. Advertisem*nt

Xbox

  1. 1

    Find your router's IP address. To access your router, you'll need to obtain your router's default IP address. You can find your IP address in multiple locations:

    • Printed on your router, usually on the back or on the bottom.
    • On Windows, press Ctrl+R and type cmd, then press Enter. In the Command Prompt, write ipconfig and press Enter. The router's default IP address is listed under Default Gateway.
    • On Mac, click the Apple menu and select System Settings or System Preferences (depending on your macOS version). Select Wi-Fi or Ethernet depending on your connection type, then select Details…. The router's IP address will be listed next to "Router."
  2. 2

    Enter the IP address into your browser's address bar. Copy and paste the IP address into the address bar and press Enter. This will take you to your router sign-in screen.

  3. 3

    Log in with your router's credentials. If you haven't changed these, the username and password may be on your router's information sticker or in your router information from your ISP. You can also use routerpasswords.com to find your router's default username and password, or you may have to contact your ISP to get this information.

  4. 4

    Obtain your console's IP. For phttps://www.wikihow.tech/Open-NAT-Type-on-Xbox-One Xbox], go to Settings > Network > Network Settings > Advanced Settings > IP address.

  5. 5

    Navigate to your router's port forwarding menu. The location will be different on each router, but most routers will list it under Security or Advanced settings.

  6. 6

    Fill out the TCP and UDP protocols. If you can select "both," this is the preferred option. You'll also need to enter your device's IP address.

    • TCP: 3074
    • UDP: 88, 500, 3074, or 3544
    • Both: 3074
  7. 7

    Save the changes in your router settings. Ensure to save before you close out of your settings or you'll have to go back and re-enter the settings.

  8. 8

    Restart your router and device. After restarting, check to ensure your NAT type is no longer strict.

  9. Advertisem*nt

Nintendo Switch

  1. 1

    Obtain your IP address, Subnet Mask, and Default Gateway. How you get this differs depending on whether you have a Windows or Mac computer:

    • On Windows, press Ctrl+R and type cmd, then press Enter. In the Command Prompt, write ipconfig and press Enter.
    • On Mac, click the Apple menu and select System Settings or System Preferences (depending on your macOS version). Select Network and click on your connection, then click Advanced. Click the TCP/IP button.
  2. 2

    Open your Nintendo Switch's Settings menu. You can do this by scrolling down to the System Settings button, which has an icon that looks like a sun.

  3. 3

    Navigate to Internet > Internet Settings. Your Switch will start scanning for any available networks.

  4. 4

    Select your network. You will see several options on the screen.

  5. 5

    Navigate to Change Settings > IP Address Settings > Manual. Your current network settings can be edited from this menu.

  6. 6

    Delete the existing IP address. Hold down the B button or use the backspace button on the on-screen keyboard to delete the IP address.

  7. 7

    Enter the IP address from your computer with 20 added to the last digit. For example, if your IP address is 10.10.10.10, you'd input 10.10.10.30.

  8. 8

    Delete your existing Subnet Mask and Gateway. Hold down the B button or use the backspace button on the on-screen keyboard to delete these values.

  9. 9

    Input the Subnet Mask and Gateway from your device. You don't need to edit these numbers.

  10. 10

    Select the Save button in the bottom-right corner.

  11. 11

    Find your router's IP address. To access your router, you'll need to obtain your router's default IP address. You can find your IP address in multiple locations:

    • Printed on your router, usually on the back or on the bottom.
    • On Windows, press Ctrl+R and type cmd, then press Enter. In the Command Prompt, write ipconfig and press Enter. The router's default IP address is listed under Default Gateway.
    • On Mac, click the Apple menu and select System Settings or System Preferences (depending on your macOS version). Select Wi-Fi or Ethernet depending on your connection type, then select Details…. The router's IP address will be listed next to "Router."
  12. 12

    Enter the IP address into your browser's address bar. Copy and paste the IP address into the address bar and press Enter. This will take you to your router sign-in screen.

  13. 13

    Log in with your router's credentials. If you haven't changed these, the username and password may be on your router's information sticker or in your router information from your ISP. You can also use routerpasswords.com to find your router's default username and password, or you may have to contact your ISP to get this information.

  14. 14

    Navigate to your router's port forwarding menu. The location may change depending on your router manufacturer and model, but most routers will list it under Security' or Advanced settings.

  15. 15

    Put "45000" as the start port and "65535" as the end port for UDP. Nintendo recommends forwarding ports 1-65535, but this is not recommended as it will leave your device exposed to the entire internet.

  16. 16

    Save the changes in your router settings. Ensure to save before you close out of your settings or you'll have to go back and re-enter the settings.

  17. 17

    Restart your router and device. After restarting, check to ensure your NAT type is no longer strict.

  18. Advertisem*nt

Method 3

Method 3 of 6:

Network Discovery (Windows)

Download Article

  1. 1

    Open your Control Panel. If you're trying to open your ports on your Windows computer, you can use Network Discovery instead of editing your router settings.

  2. 2

    Click Network and Internet > Network & Sharing Center. Several options will appear on the screen.

  3. 3

    Select Change Advanced Sharing Settings. Your active network and other relevant network information will be displayed at the top.

  4. 4

    Click Change advanced sharing settings. It's located in the left-hand sidebar.

  5. 5

    Click the radio button next to Turn on network discovery. It's located under Network discovery in the Guest or Public section.

  6. 6

    Click Save changes. It may require administrator approval before it will save. This method will turn your NAT Type to Open while Network Discovery is active.

  7. Advertisem*nt

Method 4

Method 4 of 6:

VPN Hotspot (Windows 10)

Download Article

  1. 1

    Install a VPN of your choice. There are several VPN services, including ExpressVPN, NordVPN, and ProtonVPN. Select one that fits the amount you want to spend and your needs.

    • Don't connect to a server just yet. Simply install the VPN client on your PC.
    • This method doesn't require altering your router settings in any way, but only works on Windows 10.
  2. 2

    Navigate to Settings > Network & Internet. There will be many options here, including Mobile Hotspot. Note that you must have Wi-Fi built into your PC or have a Wi-Fi adapter to use the hotspot.

  3. 3

    Select Mobile Hotspot and enable it. Your hotspot will now be discoverable.

  4. 4

    Go back to Network & Internet and select Change adapter options. A new window will open that lists all of your network adapters.

  5. 5

    Right-click on your VPN service and select Properties. A new window with your adapter properties will pop up.

  6. 6

    Select Sharing. Tick the option that says, "Allow other network users to connect through this computer's internet connection."

  7. 7

    Click the dropdown under "Home networking connection" and select your hotspot. This will connect your VPN service to your mobile hotspot so your devices can connect.

  8. 8

    Click OK to save your settings. You can close out of your computer settings entirely at this point.

  9. 9

    Open your VPN and select a server location. You can select any location, but be mindful of potential restrictions (for example, if your game is banned in a certain area).

  10. 10

    Connect your gaming device to the hotspot. Once connected, you will be connected with a Moderate NAT Type. This type isn't as flexible as an Open NAT Type but is much more flexible than a Strict NAT Type.

  11. Advertisem*nt

Method 5

Method 5 of 6:

Router Configuration File (Advanced)

Download Article

  1. 1

    Find your router's IP address. To access your router, you'll need to obtain your router's default IP address. You can find your IP address in multiple locations:

    • Printed on your router, usually on the back or on the bottom.
    • On Windows, press Ctrl+R and type cmd, then press Enter. In the Command Prompt, write ipconfig and press Enter. The router's default IP address is listed under Default Gateway.
    • On Mac, click the Apple menu and select System Settings or System Preferences (depending on your macOS version). Select Wi-Fi or Ethernet depending on your connection type, then select Details…. The router's IP address will be listed next to "Router."
  2. 2

    Enter the IP address into your browser's address bar. Copy and paste the IP address into the address bar and press Enter. This will take you to your router sign-in screen.

  3. 3

    Log in with your router's credentials. If you haven't changed these, the username and password may be on your router's information sticker or in your router information from your ISP. You can also use routerpasswords.com to find your router's default username and password, or you may have to contact your ISP to get this information.

  4. 4

    Go to your router settings and locate your configuration file. By downloading the config file, you can manually edit the ports and reload the edited file.

    • Every router manufacturer and model will be different, so you may need to refer to your router's guide to find the config file.
  5. 5

    Download the config file. If your router asks if you want to make a backup, select this option.

  6. 6

    Make a copy of the config file. In case you mess up, you will want a backup of the file that you can use to restore your router to its previous settings.

  7. 7

    Open the file in a text editor. Notepad is the default on Windows, and TextEdit is the default on Mac.

  8. 8

    Type Ctrl+F on Windows or Cmd+F on Mac. This will bring up the search function.

  9. 9

    Search for last bind and press enter. Your cursor will move to the point in the document that says "last bind."

  10. 10

    Under "last bind" type {{{1}}}. Replace the 5555-5555 with your desired opening and closing ports. If you were provided port information, use those values. Otherwise, you can use portforward.com to find the specific ports for the game you are looking to play.

    • If you want to open multiple ports, add as many lines as needed with different port numbers.
  11. 11

    Save the file. Press Ctrl+S on Windows or Cmd+S on Mac to save the file or save it from the File menu.

  12. 12

    Return to your router settings and load your config file. The location of this section will differ depending on your router model or manufacturer, but it should be in the same area where you downloaded the config file.

  13. 13

    Save the changes in your router settings. Ensure to save before you close out of your settings or you'll have to go back and re-enter the settings.

  14. 14

    Restart your router and device. After restarting, check to ensure your NAT type is no longer strict.

  15. Advertisem*nt

Method 6

Method 6 of 6:

DMZ Mode (Not Recommended)

Download Article

  1. 1

    Find your router's IP address. To access your router, you'll need to obtain your router's default IP address. You can find your IP address in multiple locations:

    • Printed on your router, usually on the back or on the bottom.
    • On Windows, press Ctrl+R and type cmd, then press Enter. In the Command Prompt, write ipconfig and press Enter. The router's default IP address is listed under Default Gateway.
    • On Mac, click the Apple menu and select System Settings or System Preferences (depending on your macOS version). Select Wi-Fi or Ethernet depending on your connection type, then select Details…. The router's IP address will be listed next to "Router."
  2. 2

    Enter the IP address into your browser's address bar. Copy and paste the IP address into the address bar and press Enter. This will take you to your router sign-in screen.

  3. 3

    Log in with your router's credentials. If you haven't changed these, the username and password may be on your router's information sticker or in your router information from your ISP. You can also use routerpasswords.com to find your router's default username and password, or you may have to contact your ISP to get this information.

  4. 4

    Go to your router's advanced settings. The location of these settings may change depending on which router model or manufacturer you have.

  5. 5

    Locate DMZ mode and enter a manual IP address. You can use the static IP address from your ipconfig readout.

    • Note that DMZ mode is not recommended as it opens all of your ports to the entirety of the internet and leaves your computer completely exposed. The risk of malware attacks is high, so this method should only be used as a truly last resort.[2]
  6. Advertisem*nt

Expert Q&A

Ask a Question

200 characters left

Include your email address to get a message when this question is answered.

Submit

      Advertisem*nt

      Tips

      • On Xbox and PC, you will see NAT Type referred to as Open, Moderate, or Strict. On Playstation, the correlated NAT types are Type 1 (Open), Type 2 (Moderate), or Type 3 (Strict).

        Thanks

        Helpful0Not Helpful0

      • Open NAT Types are the most flexible and can connect with Open, Moderate, and Strict NAT Types. Moderate NAT Types can only connect to Open and Moderate NAT Types. Strict NAT Types are the most restrictive and can only connect to Open NAT Types.

        Thanks

        Helpful0Not Helpful0

      Submit a Tip

      All tip submissions are carefully reviewed before being published

      Submit

      Thanks for submitting a tip for review!

      Advertisem*nt

      Warnings

      • Leaving your NAT Type as Open can open you to security vulnerabilities. After you're done gaming or have completed the task you needed a less-restrictive NAT Type for, you should return to your default router settings to keep your devices and data safe from security risks.

        Thanks

        Helpful1Not Helpful0

      Advertisem*nt

      You Might Also Like

      How toAdd or Change the Default Gateway in LinuxHow toSet up Ethernet
      How toInstall an Ethernet Jack in a WallHow toSet up a Network DriveHow toInstall a ModemHow toConnect Two Computers Using USBHow toMake a Network CableHow toCreate an Ethernet CableHow toFix a Cut Fiber Optic CableHow toTerminate Coaxial CableHow toWire an Ethernet CableHow toShare Ethernet As Wi FiHow toDiagnose Cable Modem Issues

      Advertisem*nt

      About This Article

      How to Change NAT Type: UPnP, Port Forwarding, VPN, & More (39)

      Co-authored by:

      Luigi Oppido

      Computer & Tech Specialist

      This article was co-authored by Luigi Oppido and by wikiHow staff writer, Hannah Dillon. Luigi Oppido is the Owner and Operator of Pleasure Point Computers in Santa Cruz, California. Luigi has over 25 years of experience in general computer repair, data recovery, virus removal, and upgrades. He is also the host of the Computer Man Show! broadcasted on KSQD covering central California for over two years. This article has been viewed 21,209 times.

      How helpful is this?

      Co-authors: 2

      Updated: February 12, 2024

      Views:21,209

      Categories: Networking Hardware

      • Print
      • Send fan mail to authors

      Thanks to all authors for creating a page that has been read 21,209 times.

      Is this article up to date?

      Advertisem*nt

      How to Change NAT Type: UPnP, Port Forwarding, VPN, & More (2024)

      References

      Top Articles
      Latest Posts
      Article information

      Author: Kareem Mueller DO

      Last Updated:

      Views: 5914

      Rating: 4.6 / 5 (66 voted)

      Reviews: 81% of readers found this page helpful

      Author information

      Name: Kareem Mueller DO

      Birthday: 1997-01-04

      Address: Apt. 156 12935 Runolfsdottir Mission, Greenfort, MN 74384-6749

      Phone: +16704982844747

      Job: Corporate Administration Planner

      Hobby: Mountain biking, Jewelry making, Stone skipping, Lacemaking, Knife making, Scrapbooking, Letterboxing

      Introduction: My name is Kareem Mueller DO, I am a vivacious, super, thoughtful, excited, handsome, beautiful, combative person who loves writing and wants to share my knowledge and understanding with you.