There are several solutions to access remote computers via the Internet such as TeamViewer, VNC. However, if you are running a Professional version of Windows, Remote Desktop is already installed in Windows.
Before proceeding, please activate Remote Desktop on your computer and make sure you can access it from other computers on your local network.
1. Set up VPN
If you create a virtual private network (VPN), you won’t have to “dry” Remote Desktop server directly to the Internet. Instead, your computer will have to first join the VPN. The remote computer will act as if it is part of a local area network just like the computer running the Remote Desktop server, allowing you to access Remote Desktop and other services only on your local network.
Among many VPN applications you can use to create your own VPN, we recommend LogMeIn Hamachi. Please download and install LogMeIn Hamachi on the computer that you want Remote Desktop to.
Once you have created an account, you can log in to Hamachi on another computer and bring both computers to join “Hamachi network”. They will act as if they are directly connected, even if you are doing this over the Internet.
You can now use the Remote Desktop Connection application on your computer to connect to the Remote Desktop server. Use the other computer’s IPv4 address (displayed in the Hamachi window) when you are connected.
2. Forwarding TCP port 3389
You can also bypass the VPN and expose the Remote Desktop server directly to the Internet. If you do, make sure you have a strong password set on your computer so bad guys won’t log in remotely. If you follow this guide, you will forward TCP port 3389 to the computer running Remote Desktop.
First, locate the IP address of the computer running Remote Desktop. On the computer running Remote Desktop, open Control Panel, click View network status and tasks, Click the name of the current connection (to the right of the Connection), then click the button Details, Note the number displayed to the right of the IPv4 Address.
Next, access the web interface of the router. If you don’t know its address, it’s probably the same as the address “IPv4 Default Gateway” in the Network Connection Details window above. Type this address into the address bar of your web browser to access the web interface of the router.
Log into the router and locate the part Port Forwarding. Forward TCP port 3389 to the IPv4 address you specified earlier.
You can now log in to Remote Desktop via the Internet – Connect to an external IP address on your network (also known as a public IP address).