← Howto

How to Set Up Port Forwarding

Published April 7, 2026

Port Forwarding Guide

Port forwarding allows external devices to reach services running on your local network. Common uses include hosting a game server, enabling remote desktop access, using IP cameras remotely, and running a home web server.

What is Port Forwarding?

By default, your router's NAT (Network Address Translation) blocks unsolicited incoming connections from the internet. Port forwarding creates an exception: incoming traffic on a specific port is redirected to a device on your local network.

Before You Set Up Port Forwarding

You need to know: the local IP address of the device you want to forward to (e.g., 192.168.1.100), and the port number(s) required by the application or service.

Important: Assign a static (fixed) local IP address to the device you are forwarding to. If the device's IP changes (which happens with DHCP), port forwarding breaks. You can set a static IP in your router's DHCP settings by reserving an IP for the device's MAC address.

Setting Up Port Forwarding (General Steps)

  1. Log into your router's admin panel at 192.168.1.1 or your router's IP.
  2. Find the Port Forwarding section — it may be under Advanced, NAT, Firewall, or Virtual Server settings depending on your router brand.
  3. Click Add or New Rule.
  4. Enter a name for the rule (e.g., 'Minecraft Server').
  5. Select the protocol: TCP, UDP, or Both (choose Both if unsure).
  6. Enter the external port (the port number internet traffic will use) and internal port (usually the same).
  7. Enter the internal IP address of the device to forward to.
  8. Save and enable the rule.

Testing Port Forwarding

Use a port checking tool (such as the Port Checker tool on this site) to verify the port is open from the outside. You must be testing from outside your network — the tool uses your public IP to check the port.


Related Articles

How to Put Your ISP Gateway in Bridge Mode and Use Your Own Router

Turn your ISP gateway into a plain modem so your own router does the work. Steps for Xfinity bridge mode, AT&T IP Passthrough, and other gateways.

How to Use a Third-Party Router With Starlink (Bypass Mode)

Want better wifi with Starlink? Here's how to put Starlink in bypass mode and connect your own router or mesh system from Netgear, TP-Link, or Asus.

Pi-hole Explained: Block Ads on Every Device on Your Home Network

Pi-hole blocks ads and trackers across every device on your network, from your phone to your smart TV, with no browser extensions or apps. Here is how it works and how to set it up.

How to Set Up WiFi in a Rental Without Drilling Holes

Renting and want strong WiFi everywhere without losing your deposit? Here is how to do it without drilling, running cables through walls, or upsetting your landlord.


More from Other Topics

Why You Can't Port Forward: CGNAT Explained and How to Get Around It
Smart Plug Won't Connect to WiFi? The 2.4GHz Problem Explained
Ethernet Stuck at 100 Mbps? How to Get Your Gigabit Speed Back
Can't Cast to Your TV? How AP Isolation Breaks Chromecast and AirPlay

Router Guides

Popular Router Resources

Popular Router Brands