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:
- Your router's IP address.
- Your computer's internal IP address.
- A list of TCP and UDP ports that need to be forwarded.
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:
- Begin by logging in to your router.
- Find the port forwarding section in your router.
- Type the IP address of your computer into the correct box in your router.
- Put the TCP and UDP ports for WireGuard in the corresponding boxes in your router.
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.