PDF download Download Article
Quickly forward a port for a game, app, or server
PDF download Download Article

Are you playing a game or using an app that requires certain ports to be open? If you are using apps like BitTorrent clients or multiplayer servers for games, they may require you to set up port forwarding. You may also need to set up port forwarding if you are trying to connect to a server or use your computer as a server. While making changes to your router might sound intimidating, it's actually quick and easy! This wikiHow article teaches you how to set up port forwarding on your router, with helpful tips from computer and tech specialist Luigi Oppido and Minecraft expert Pixlriffs. We'll also show you how to access your router on your Windows PC or Mac so you can forward ports with ease.

Forward a Port: Quick Steps

  1. Log in to your router's web interface.
  2. Open the port forwarding settings.
  3. Select a port forwarding preset or create a new rule.
  4. Enter a name, service type, and port you want to forward.
  5. Enter your computer's IP address.
  6. Save your changes.
  7. Test the port forwarding setup using a website like canyouseeme.org.
Section 1 of 3:

Setting Up Port Forwarding on Your Router

PDF download Download Article
  1. The user interface is going to be different for each router make and model. You may need to look around or check your user's manual/online documentation to find the Port Forwarding settings in your router's user interface. Use the default gateway address for your router to access your router's user interface on a PC or Mac.
    • For example, if you wanted to find the port forwarding section on a Linksys router, you would search for linksys port forwarding and look for your router's model number from there.
  2. To do so, you will need to find the default gateway address for your router and enter it in a web browser. This will pull up a login page into which you'll enter your router's username and password. If you have not changed the username and password, you will need to use the default username and password, which will be listed in your router's user manual or online documentation.[1]
    Advertisement
  3. Although each router's page will be slightly different, common menu labels for the section of settings that contains Port Forwarding are "Port Forwarding", "Applications", "Gaming", "Virtual Servers", "Firewall", and "Protected Setup." Here are some ways to find the port forwarding settings for different router brands, though not all brands of these routers will match the steps exactly:[2]
    • Linksys — Click the Applications & Games (or Apps & Games) tab, and then click Single Port Forwarding to open a single port or Port Range Forwarding to open a range of multiple ports.
    • Netgear — Click Advanced Setup and then click Port Forwarding/Port Triggering or PortsCustom Services.
    • Belkin — Click Virtual Servers below the "Firewall" header in the menu to the left.
    • Asus — Click WAN in the menu to the left and then click Virtual Server/Port Forwarding.
  4. Many routers will have a drop-down menu with pre-configured options for well-known applications. If you need to open ports for one of these applications, select it from the "Service Name" or "Application" (or similar) drop-down menu and then save your changes by clicking Save (or similar).
    • For example, Minecraft is a common program for which people forward ports, so you might find a Minecraft setting here.
    • "There are security risks in opening a direct port to your PC," warns Pixlriffs.[3] This applies not only to running a Minecraft server, but also to opening a port for any service on your computer. "Make sure the software on your computer (especially the firewall) is up-to-date to limit the risk of security vulnerabilities," he says, "and make sure your IP address is only distributed among trusted friends."[4]
  5. If the program you want to add is not listed, you will need to create a custom port forwarding entry. Each router will have a slightly different way of doing this, although the required information is the same for any router:
    • Name or Description — Enter a name for the service (e.g., "Minecraft"). This isn't usually required, but it will help you keep track of your various port forwarding rules.
    • Type or Service Type — This can be TCP, UDP, or both. If you aren't sure of which one to use, select Both or TCP/UDP.
    • Inbound or Start — The first port number goes here. You should research your selected port number to make sure it isn't already taken by a specific application.
      • If you weren't instructed to use a specific port, Oppido recommends using a unique port that isn't commonly used for specific services. "I would make sure that the ports that I'm opening up aren't standardized ports," he says. He recommends choosing a port number a little bit further down the line, "maybe in the thousands or so because a lot of people use three-digit ports."[5]
    • Private or End — The second port number goes here. If you only want to open one port, enter the same port number here; if you wish to open a range of ports, type the number of the port at the end of the range into this text field (e.g., entering "3570" in the first field and "3580" in the second field would open ports 3570 through 3580).
  6. This goes in the "Private IP" or "Device IP" field. You can find your private IP address on your PC or on a Mac. If your computer has a dynamic IP address that changes ever so often, you may need to assign your computer a static IP address to keep it from changing.
    • Depending on your router, this text field may already be filled with your computer's IP address. If so, skip this step.
  7. Click the Save or Apply button. If prompted, you'll also need to allow your router to restart for the changes to take effect.[6]
    • You may also have to check an "Enabled" or "On" box next to the forwarded port row.
  8. To make sure the port is open and accessible from outside your network, you can use a port checking tool like Portchecker or Canyouseeme.org to test specific ports. Just enter the port you want to check, and the site will tell you whether it's accessible.
    EXPERT TIP
    Luigi Oppido

    Luigi Oppido

    Computer & Tech Specialist
    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 7 years.
    Luigi Oppido
    Luigi Oppido
    Computer & Tech Specialist

    Canyouseeme.org is a really awesome website. Not only will it tell you your IP address, but it also allows you to type in a port. It's a great port test tool if you're setting up cameras or any type of port forwarding.

  9. Advertisement
Section 2 of 3:

Accessing Your Router on Windows

PDF download Download Article
  1. An easy way to do this is to right-click the Start menu and select Settings. You can also use the keyboard shortcut Windows key + i.
  2. If you're using Windows 10, click the Network & internet icon. On Windows 11, you'll click Network & internet in the left panel.
  3. On Windows 11, click Advanced network settings in the right panel. On Windows 10, click View hardware and connection properties instead.
  4. For example, if you're connected to the internet via Wi-Fi, click your Wi-Fi connection. You can skip this step on Windows 10.
  5. You can skip this step on Windows 10.
  6. " You'll see one of these two options, depending on your version of Windows. The IP address here is that of your router.
  7. Enter the default gateway address you noted in the previous step into the address bar at the top of your web browser, then press Enter. This will open the login page for your router's user interface.
    • For example, if the default gateway number is "192.168.1.1", you would type 192.168.1.1 into the address bar.
    • If you see a security warning, don't worry. It's just because your router isn't running a secure web server, and web browsers are designed to warn you in those cases. If prompted, click Advanced, then click Accept the risk and continue (or similar).
    • You can use Google Chrome, Microsoft Edge, Firefox, or any web browser of your choice.
  8. Enter the username and password for your router. If you have not changed this information, it should be set to the default username and password. Check the sticker on the router or the manual to find the default username and password. The following is a list of usernames and passwords you can try for your router brand:[7]
    • D-Link — Username: admin Password: leave blank.
    • Netgear — Username: admin Password: password
    • Linksys — Username: admin Password: admin
    • Asus — Username: admin Password: admin
    • DrayTek — Username: admin Password: admin
    • ZyXel — Username: admin Password: 1234
    • TP-Link — Username: admin Password: admin
    • TRENDnet — Username: admin Password: admin
    • Belkin — Username: admin Password: leave blank.
  9. Advertisement
Section 3 of 3:

Accessing Your Router on Mac

PDF download Download Article
  1. A menu will appear.[8]
  2. You'll see this in the left panel.
  3. For example, if you're connected via Ethernet, select Ethernet.
  4. This displays information about your current connection.[9]
  5. " This is your router's IP address, which is sometimes referred to as a default gateway.
  6. Type your router's IP address in the address bar at the top of your web browser and press Return. This will open the login page for your router's user interface.[10]
    • For example, if the default gateway number is "192.168.1.1", you would type 192.168.1.1 into the address bar.
  7. Enter the username and password for your router. If you have not changed this information, it should be set to the default username and password. Check the sticker on the router or the manual to find the default username and password. The following is a list of usernames and passwords you can try for your router brand:
    • D-Link — Username: admin Password: leave blank.
    • Netgear — Username: admin Password: password
    • Linksys — Username: admin Password: admin
    • Asus — Username: admin Password: admin
    • DrayTek — Username: admin Password: admin
    • ZyXel — Username: admin Password: 1234
    • TP-Link — Username: admin Password: admin
    • TRENDnet — Username: admin Password: admin
    • Belkin — Username: admin Password: leave blank.
  8. Advertisement

Community Q&A

Search
Add New Question
  • Question
    What is the purpose of port forwarding?
    Community Answer
    Community Answer
    If you have a game, like Minecraft, and will be hosting a server, port forwarding will allow you to show people the server when they contact your router.
  • Question
    How do I find out what my Wi-Fi password is?
    Community Answer
    Community Answer
    Your Wi-Fi password should be on your router. If you changed it and forgot what it was, reset your router to factory settings to reset the password to the one on the outside of the router. Then, you can change it again if you want.
  • Question
    Will this cost me anything?
    Community Answer
    Community Answer
    Port forwarding itself does not cost money. You are just allowing an application to access other servers/computers through an opened port.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

  • Some routers (such as D-Link's) have a "trigger port" feature that can allow some games to work without changing the IP address. This feature works by monitoring the game's outbound connections and automatically setting up the specific port forwarding rule to the game's IP address. The trigger port feature usually needs to be manually enabled in the router's user interface.
  • Make sure you type all numbers correctly. A wrong port will cause the program to not work properly, so double-check everything.
  • Disable any extra desktop firewalls if you have problems. The firewalls for Norton Internet Security and similar products can be especially problematic; your Windows or Mac Firewall should be used instead.
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

Warnings

  • Always use anti-virus software, anti-spyware, anti-adware, and Firewall protection when modifying your router's settings.
  • Do not open all ports on your router. This allows hackers access to your computer.
  • If you find your router has a default password, be sure to set a new one. A default password is a security risk.
Advertisement

You Might Also Like

Find the IP Address of Your PC Find Your IP Address on a PC: Windows & Linux
Optimize Soulseek for Downloading MusicSoulseek Setup Guide: Opening Ports & Boosting Download Speed
Create a Web Host in Your HomeCreate a Web Host in Your Home
Open Your Port 80 Behind a Firewall Open Port 80 on Your Router’s Firewall
Unblock Command Prompt Anywhere Unblock Command Prompt Anywhere
Portforward Minecraft Port Forward for Minecraft Java or Bedrock
Configure a Router4 Simple Ways to Configure Your Home Router
Open Ports Open a Port on Windows, Mac, Linux, or Your Router
Configure a Linksys RouterConfigure a Linksys Router
Access a RouterAccess Your Router: Easy Steps to Log In & Change Settings
Change Nat Type Change Your NAT Type: Your Complete Step-by-Step Guide
Disable Router FirewallDisable Router Firewall
Adjust Nat Settings on Linksys RouterAdjust Nat Settings on Linksys Router
Configure a Static Internet Protocol (IP) Address on a Computer Configure a Static Internet Protocol (IP) Address on a Computer
Advertisement

About This Article

Luigi Oppido
Co-authored by:
Computer & Tech Specialist
This article was co-authored by Luigi Oppido and by wikiHow staff writer, Nicole Levine, MFA. 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 7 years. This article has been viewed 10,362,728 times.
How helpful is this?
Co-authors: 76
Updated: February 10, 2026
Views: 10,362,728
Article SummaryX

1. Find the IP addresses of your router and computer.
2. Go to the router’s IP address in a web browser.
3. Log in to your router's user interface.
4. Go to the Port Forwarding/Applications section.
5. Create a new entry.
6. Enter a name and select a service type.
7. Enter the starting and ending ports.
8. Enter your computer’s IP address.
9. Save your changes.

Did this summary help you?

Thanks to all authors for creating a page that has been read 10,362,728 times.

Reader Success Stories

  • Anonymous

    Anonymous

    Apr 18, 2016

    "The basic explanation of port forwarding, the step-by-step instructions, and the explanation of the start and stop..." more
Share your story

Is this article up to date?

Advertisement