Creating a Port Forward in Your Router for SSH

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

The ports that need to be forwarded for SSH are listed here:

SSH - PC

  • TCP: 22
  • UDP: 22

Forward Ports for SSH

When you use SSH you may need to forward ports in your router. Forwarding ports is used to allow incoming connection requests from the internet to SSH.

Routers are not designed to allow incoming network requests. Forwarding ports can work around this limitation.

Remember to Do These Things Before You Forward a Port

Before you can forward a port you need to know the following things:

Find the IP Address of Your Router

The easiest way to locate your router's IP address is to run our free Router Detector utility. Our Router Detector tool is free to use and is part of our Network Utilities software.

We have a guide you can follow Find Your Router IP Address if you don't want to run the software.

Setting Up a Port Forward for SSH

The easiest way to forward your ports is to use our Network Utilities software. Since Network Utilities allows you to both forward and un-forward ports easily you can keep your network security maximized, and then forward ports only when you need them.

Alternatively you can do it by hand. The process for forwarding 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 SSH:

List of Routers - Customized for SSH

That's all it takes to forward your ports for SSH.

More From Port Forward