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 routers192.168.0.1, some Netgear, TP-Link, BT models192.168.2.1, some Belkin routers10.0.0.1, some Xfinity/Comcast gateways192.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
- Log in at
192.168.1.1orrouterlogin.net - Navigate to Advanced → Advanced Setup → Port Forwarding / Port Triggering
- Click Add Custom Service
- Service Name:
Minecraft - Protocol: TCP
- External port range:
25565to25565 - Internal IP: your local IP (e.g.,
192.168.1.105) - Internal port range:
25565to25565 - Click Apply
TP-Link
- Log in at
192.168.0.1ortplinkwifi.net - Navigate to Advanced → NAT Forwarding → Virtual Servers (newer firmware) or Forwarding → Virtual Servers (older firmware)
- Click Add
- Service Type:
Minecraft - External Port:
25565 - Internal IP: your local IP
- Internal Port:
25565 - Protocol: TCP
- Click Save
ASUS
- Log in at
192.168.1.1orrouter.asus.com - Navigate to WAN → Virtual Server / Port Forwarding
- Enable port forwarding if toggled off
- Service Name:
Minecraft - Port Range:
25565 - Local IP: your local IP
- Local Port:
25565 - Protocol: TCP
- Click the + button, then Apply
Linksys
- Log in at
192.168.1.1 - Navigate to Security → Apps and Gaming → Single Port Forwarding
- Application Name:
Minecraft - External Port:
25565 - Internal Port:
25565 - Protocol: TCP
- Device IP: your local IP
- Check Enabled, click Save Settings
Xfinity (Comcast) Gateway
- Log in at
10.0.0.1with the admin credentials on the gateway sticker - Navigate to Advanced → Port Forwarding
- Click Add Port Forward
- Select the device (your computer) from the connected devices list, or enter the IP manually
- Port:
25565 - Protocol: TCP
- Click Save
Note: Xfinity gateways sometimes block port forwarding unless you disable the built-in "Advanced Security" feature under Gateway → Firewall.
Fritzbox
- Log in at
192.168.178.1orfritz.box - Navigate to Internet → Permit Access → Port Sharing (in German: Internet → Freigaben → Portfreigaben)
- Click New Port Sharing (Neue Portfreigabe)
- Select Other application
- Name:
Minecraft - Protocol: TCP
- Port to device:
25565through25565 - To computer: select your machine from the dropdown
- Port at computer:
25565 - Click OK, then Apply
BT Hub (BT Home Hub / BT Smart Hub)
- Log in at
192.168.1.254with the admin password on the hub's sticker - Navigate to Advanced Settings → Firewall → Port Forwarding
- Click Add Rule
- Game/Application: choose Manual or Custom
- Protocol: TCP
- Port Range:
25565–25565 - Device: select your computer
- 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
ufworiptables. - 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.