Skip to main content
← All Guides
Server Basics · 9 min read

Minecraft Port Forwarding Guide, Every Router Brand

How to port forward for Minecraft on every major router brand. Covers Netgear, TP-Link, ASUS, Linksys, Xfinity, Fritzbox and BT Hub with step-by-step instructions.

If you are hosting a Minecraft server on your own computer, port forwarding is the step that lets other players connect from outside your local network. Without it, your server is invisible to the internet, only people on the same WiFi can join. This guide covers port forwarding from scratch, with specific instructions for the most common router brands, plus important security notes for home hosting.

What port forwarding is and why you need it

Your home router acts as a firewall between the internet and your local devices. When someone outside your network tries to connect to your IP address on port 25565 (the default Minecraft port), the router does not know which device on your local network should receive that connection. Port forwarding is a rule you create in your router that says: "Any traffic arriving on port 25565 should be sent to the computer at local IP address 192.168.x.x."

Without this rule, external connection attempts are silently dropped. With it, players can type your public IP address into the Minecraft multiplayer menu and join your server.

Important: if you rent a server from a hosting provider, port forwarding is already handled for you. This guide applies only to home-hosted servers where you are running the server on your own hardware behind a residential router.

Step 1, Find your local IP address

You need the local IP address of the computer running your Minecraft server. This is the address on your home network, not your public IP.

Windows

Open Command Prompt and run:

ipconfig

Look for your active network adapter (usually "Ethernet adapter" or "Wireless LAN adapter Wi-Fi"). The line labeled IPv4 Address is your local IP, typically something like 192.168.1.105 or 192.168.0.12.

macOS

Open Terminal and run:

ifconfig | grep "inet " | grep -v 127.0.0.1

The address starting with 192.168 or 10.0 is your local IP.

Linux

Open a terminal and run:

ip addr show | grep "inet " | grep -v 127.0.0.1

Same pattern, look for the 192.168.x.x or 10.0.x.x address.

Write this IP down. You will enter it in your router's port forwarding settings.

Step 2, Access your router admin panel

Open a web browser and navigate to your router's admin address. Common addresses are:

  • 192.168.1.1, most routers
  • 192.168.0.1, some Netgear, TP-Link, BT models
  • 192.168.2.1, some Belkin routers
  • 10.0.0.1, some Xfinity/Comcast gateways
  • 192.168.178.1, Fritzbox routers

You will be prompted for a username and password. If you have never changed these, check the sticker on the bottom of your router, the default credentials are usually printed there. Common defaults are admin/admin, admin/password, or a router-specific password.

Step 3, Create the port forwarding rule

The general process is the same across all routers, you are creating a rule that maps an external port to a local IP and port. The specific menu locations differ by brand. Here are the steps for each major manufacturer:

Netgear

  1. Log in at 192.168.1.1 or routerlogin.net
  2. Navigate to Advanced → Advanced Setup → Port Forwarding / Port Triggering
  3. Click Add Custom Service
  4. Service Name: Minecraft
  5. Protocol: TCP
  6. External port range: 25565 to 25565
  7. Internal IP: your local IP (e.g., 192.168.1.105)
  8. Internal port range: 25565 to 25565
  9. Click Apply

TP-Link

  1. Log in at 192.168.0.1 or tplinkwifi.net
  2. Navigate to Advanced → NAT Forwarding → Virtual Servers (newer firmware) or Forwarding → Virtual Servers (older firmware)
  3. Click Add
  4. Service Type: Minecraft
  5. External Port: 25565
  6. Internal IP: your local IP
  7. Internal Port: 25565
  8. Protocol: TCP
  9. Click Save

ASUS

  1. Log in at 192.168.1.1 or router.asus.com
  2. Navigate to WAN → Virtual Server / Port Forwarding
  3. Enable port forwarding if toggled off
  4. Service Name: Minecraft
  5. Port Range: 25565
  6. Local IP: your local IP
  7. Local Port: 25565
  8. Protocol: TCP
  9. Click the + button, then Apply

Linksys

  1. Log in at 192.168.1.1
  2. Navigate to Security → Apps and Gaming → Single Port Forwarding
  3. Application Name: Minecraft
  4. External Port: 25565
  5. Internal Port: 25565
  6. Protocol: TCP
  7. Device IP: your local IP
  8. Check Enabled, click Save Settings

Xfinity (Comcast) Gateway

  1. Log in at 10.0.0.1 with the admin credentials on the gateway sticker
  2. Navigate to Advanced → Port Forwarding
  3. Click Add Port Forward
  4. Select the device (your computer) from the connected devices list, or enter the IP manually
  5. Port: 25565
  6. Protocol: TCP
  7. Click Save

Note: Xfinity gateways sometimes block port forwarding unless you disable the built-in "Advanced Security" feature under Gateway → Firewall.

Fritzbox

  1. Log in at 192.168.178.1 or fritz.box
  2. Navigate to Internet → Permit Access → Port Sharing (in German: Internet → Freigaben → Portfreigaben)
  3. Click New Port Sharing (Neue Portfreigabe)
  4. Select Other application
  5. Name: Minecraft
  6. Protocol: TCP
  7. Port to device: 25565 through 25565
  8. To computer: select your machine from the dropdown
  9. Port at computer: 25565
  10. Click OK, then Apply

BT Hub (BT Home Hub / BT Smart Hub)

  1. Log in at 192.168.1.254 with the admin password on the hub's sticker
  2. Navigate to Advanced Settings → Firewall → Port Forwarding
  3. Click Add Rule
  4. Game/Application: choose Manual or Custom
  5. Protocol: TCP
  6. Port Range: 2556525565
  7. Device: select your computer
  8. Click Add

Step 4, Test the port

After saving the rule, verify it works. Start your Minecraft server, then visit an online port checker like canyouseeme.org or yougetsignal.com. Enter port 25565 and click check. If the port shows as open, your forwarding rule is active and players can connect using your public IP address.

Find your public IP by searching "what is my IP" in any search engine. Give this IP to your friends, they enter it in the Minecraft multiplayer screen under "Server Address."

Dynamic DNS, keeping a stable address

Most residential internet connections have a dynamic IP, meaning your public IP changes periodically (often every 24 hours or after a router reboot). This is annoying because you have to tell players the new address every time it changes.

The solution is Dynamic DNS (DDNS). Services like No-IP, DuckDNS, or Dynu give you a free hostname (e.g., myserver.ddns.net) that automatically updates to point to your current IP. Most routers have a built-in DDNS client, look for it under Advanced → Dynamic DNS. Configure it with your DDNS provider's credentials and the hostname updates automatically whenever your IP changes.

Security considerations

Port forwarding exposes a service on your home network to the entire internet. Keep these rules in mind:

  • Only forward the ports you need. For Minecraft, that is port 25565 TCP. Do not forward ranges like 25000–26000 "just in case."
  • Keep your server software updated. Unpatched servers are vulnerable to exploits. Use Paper or Purpur for the latest security patches.
  • Set a strong RCON password or disable RCON entirely in server.properties. RCON (port 25575) grants full console access, if you forward it, anyone can control your server.
  • Use a whitelist if your server is for friends only. This prevents random players from joining through port scans.
  • Consider a hosting provider. If security concerns or ISP restrictions make home hosting impractical, a dedicated host gives you a public IP with DDoS protection, no port forwarding required, and your home network stays completely unexposed.

When port forwarding does not work

Common issues and fixes:

  • Double NAT, if you have two routers (e.g., ISP modem-router combo plus your own router), you need to forward the port on both, or put the inner router in the outer one's DMZ. Alternatively, set the ISP device to bridge mode.
  • ISP-level blocking, some ISPs block inbound connections on residential plans. Contact your ISP to ask if port 25565 is blocked. If it is, a VPN-based tunnel or a hosting provider is your only option.
  • CGNAT, Carrier-Grade NAT means your ISP shares a single public IP among multiple customers. Port forwarding is impossible behind CGNAT. Ask your ISP for a dedicated public IP (sometimes available for a small monthly fee) or move to hosted infrastructure.
  • Windows Firewall, even with the router rule set, Windows Firewall may block inbound connections. Open Windows Defender Firewall, go to Inbound Rules, and create a new rule allowing TCP port 25565. On Linux, check ufw or iptables.
  • Wrong local IP, if your computer's local IP changes (common with DHCP), the port forwarding rule points to the wrong device. Set a static local IP for the server machine in your router's DHCP settings or in the OS network configuration.

For a complete walkthrough of launching your first server, start with the server setup guide, which covers everything from jar selection to first login. If you decide home hosting is too much hassle, hosted servers handle all of this for you out of the box.

Ready to launch? Astroworld Hosting offers NVMe SSD, Pterodactyl panel, and DDoS protection on every plan. See features , plans from €6.39/mo.

Related Tools & Resources

🔧

Minecraft Tools

Calculators, generators & server tools

🧱

Item Database

Browse all Minecraft items, stats & recipes

⚒️

Crafting Recipes

Visual crafting guides for every recipe