Port Forwarding: The Complete Beginner's Guide

By · · Updated · 2 min read

Your router blocks connections that start from the internet. That's normally a good thing. But if you want to host a Minecraft server, reach your security camera from work or fix a "strict NAT" warning on your console, you have to tell the router where to send that incoming traffic. That instruction is a port forward.

Two things to sort out first

The device you're forwarding to needs an address that never changes. Otherwise the rule works today and points at the wrong device next week, after the router hands out addresses again. The cleanest fix is a DHCP reservation in the router, which ties an IP address to the device's MAC address.

You also need to know which port and protocol the program uses. Minecraft Java uses TCP 25565, for example, and Plex uses TCP 32400. Game consoles often need a handful of UDP ports, which the console maker lists on its support site.

Creating the rule

Log in to your router (see our login guides by brand) and look for a menu called Port Forwarding. Some brands call it Virtual Server, NAT or Applications & Gaming instead. Add a new rule with the external port, the internal port (usually the same number), the protocol and the local IP of your device, then save it.

Checking it works

Test from outside your own network, because checking from inside often gives a false result. Our Port Checker does exactly that. One thing catches almost everyone out: the program has to be running. A forwarded port with nothing listening on it still shows as closed.

When it still doesn't work

Compare the WAN address on your router's status page with your public IP. If they're different, your ISP is using carrier-grade NAT (CGNAT), and no setting on your router can fix that; you'll need to ask the ISP for a public IP. If you have an ISP modem plus your own router (double NAT), either put the modem in bridge mode or create the same forward on both devices. And don't forget the computer's own firewall. Windows Defender Firewall will happily block a port you've forwarded perfectly.

Keep it tidy

Only forward the ports you actually need, and delete rules you no longer use. Never forward the router's own admin page to the internet. That's one of the first things automated scanners look for.