How to Open a Port in Your Router for WireGuard

Thumbnail image of Port Forward Staff
Port Forward Staff
Last Updated: | Reading Time: 1 minutes

The incoming ports that need to be forwarded for WireGuard are:

WireGuard - PC

  • TCP:
  • UDP: 51820

Setting Up a Port Forward for WireGuard


You might need to forward some ports in your router when you use WireGuard. A port forward allows incoming connection requests from the internet to go straight to WireGuard.

By default routers do not allow incoming network requests. Forwarding ports can work around this limitation.

Before Forwarding a Port Checkoff This To Do List

Before forwarding a port make sure that you know these things:

How to Locate Your Router's IP Address

We have free Router Detector software to help you find your router's IP address. It is part of our Network Utilities suite of tools and is free for you to use it.

You can also follow our Find Your Router IP Address article.

Setting Up a Port Forward for WireGuard

We have Network Utilities software that can forward ports for you. With Network Utilities, you can easily forward ports and also un-forward ports quickly so that you can keep your network up to date with the ports that you need forwarded and maximize your network security.

Another option is to go through the process of forwarding ports one step at a time. The way to forward a port is:

Some routers need to be rebooted in order for the changes to be saved.

You can choose your router from our list to see exactly how to forward ports for WireGuard:

List of Routers - Customized for WireGuard

Those are the steps for forwarding ports in your router for WireGuard.

More From Port Forward