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
Step-by-step guide to changing your wireless network password on any router.
Keeping your router's firmware up to date improves security and performance. Here is how to do it.
Learn how to access your router remotely from anywhere. Step-by-step guide for enabling remote management on popular router brands.
Learn how to bridge two routers together to extend your WiFi network. Step-by-step guide for TP-Link, Netgear, and other router brands.
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