- How to Configure Remote Desktop Port Forwarding?
- Figure out the IP address of the computer
- Log into your home internet router.
- Change the router settings.
- What is Port?
- What is Remote Desktop Port Forwarding?
Remote desktop allows you to access your computer system from a different computer or network. So, if youd like to have full access to your main computer at all times, no matter where you are, you will need to set up remote desktop port forwarding on your home network.
How to Configure Remote Desktop Port Forwarding?
As mentioned earlier, there are thousands of ports that allow for different services. The port responsible for the Windows Remote Desktop service is 3389, i.e., you need to forward it to port 3389.
If you or the PC you are connecting to is behind a router, you will first need to change the routers settings to forward port 3389 from the router to the PC youre connecting to. Here is how to do that:
Figure out the IP address of the computer
To forward to port 3389, you need to find out the address of the computer youre forwarding the port to.
Go to the computer system and click on the Start option. Then type cmd in the search bar and press Enter. Next, type ipconfig / all and look for the IP Address label of your system to see the address. Write down this number.
Log into your home internet router.
Routers have web-accessible control panels that you can log into by simply opening a web browser and going to the routers IP address. In most cases, this IP address is 192.168.1.1, but it may differ depending on what kind of router youre using.
To be entirely sure about the IP address, check out the user manual for your router.
Also, you can find out the IP address via your system. Click on the Start button, type cmd, and press Enter. Type ipconfig / all into the pop-up window. Look for the Default Gateway IP address thats your routers IP address.
Enter your username and password to log in to the control panel of your router. If you have the routers manual handy, you can use it to access information about this control panel as well.
Change the router settings.
Inside the control panel of your router, look for the Applications and Games, Port Forwarding, NAT (Network Address Translation) section, and click on it.
This sections name can vary depending on the router, but once you find it, you will see a list of text entry boxes. You are supposed to enter IP addresses and port numbers in these boxes.
Set the forwarding ports to be 3389. Then enter the IP address of your local PC as the network these ports should be forwarded to. Once done, save the settings and, if necessary, restart the router.
You can now connect to your PC from the outside world using the remote desktop port forwarding protocol.
What is Port?
A port is a point to which a computer, a process, a service, or an application connects.
For example, when a user types in a website address in their browser and hits Enter, they are requesting a remote web server using the HTTPS/HTTP protocol, which a specific port handles on that server (port 443 for HTTPS and port 80 for HTTP).
As you may already know, every computer device has an IP address. There are two types of IP addresses: public (external) or private (internal). A public IP address is accessible to the outside world, whereas a private IP address is only used in internal networks.
Whenever you request to gather information from the Internet, your devices private IP address is sent along with the public IP address of your router.
The Network Address Translation (NAT) is responsible for ensuring that the requested information reaches the right computer device within a network. It occurs at the network and transport layers, where the network traffic flow is channeled through the router so that numerous devices behind it can share a single IP address (public).
This is where ports come in. Ports ensure that a computer knows which application the data packets are meant for based on the port number.
There are 65,536 ports available for Transmission Control Protocol (TCP) or User Datagram Protocol (UDP), and some of them come with pre-assigned uses. Ports are identified by port numbers, ranging from 0 to 65535.
What is Remote Desktop Port Forwarding?
When you connect to your personal computer (PC) by using a remote desktop client, you create a peer-to-peer connection. So, you will need direct access to the host (your PC). You will need to enable the access if you want to connect to your system from outside the network it is running on.
This can be quickly done via remote desktop port forwarding.
RDP port forwarding maps the port on your public IP address (routers IP) to the port and IP of the computer you want to access. Port forwarding allows you to anything you want to do on your PC remotely, as though you were using the PC itself.
The precise steps for enabling port depend on which router you are using. For example, setting up RDP port forwarding on a TP-Link router differs slightly from configuring it on an Asus router. But the general steps remain the same.
- Port Forwarding
- remote access
- remote desktop ports