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)
- Log into your router's admin panel at 192.168.1.1 or your router's IP.
- Find the Port Forwarding section — it may be under Advanced, NAT, Firewall, or Virtual Server settings depending on your router brand.
- Click Add or New Rule.
- Enter a name for the rule (e.g., 'Minecraft Server').
- Select the protocol: TCP, UDP, or Both (choose Both if unsure).
- Enter the external port (the port number internet traffic will use) and internal port (usually the same).
- Enter the internal IP address of the device to forward to.
- 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
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.
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 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.
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
Router Guides
Popular Router Resources
- Default Router Passwords
- Router Brands
- Default IP Addresses
- What Is My IP?
- WiFi QR Code Generator
- Internet Speed Test
- Port Checker
- All Network Tools