Connecting to a Windows desktop through a VPN connection
This article discusses how to set up a client computer running Windows 7 from which a Windows Remote Desktop connection should be established. The settings of the server and the computer to which the connection will be established are not considered here.
Create a new VPN connection
1. Open the “Network and Sharing Center”, to do this, right-click on the connection icon in the system tray and select the “Network and Sharing Center” menu item. “Network and Sharing Center” can also be opened through the control panel.
2. Click the “Set up a new connection or network” link (at the bottom).
3. Select “Connect to a workplace. Set up a phone or VPN connection to your workplace” and click “Next”.
4. Select “Use my Internet connection (VPN)”.
5. Enter “Internet Address” and Destination Name and click “Next”.
6. Fill in the “User” and “Password” fields and click “Connect”.
7. After connecting, click “Close”.
To make the connected network not the main one, you need to perform the following steps
8. Open the Network and Sharing Center.
9. Click on the “Change adapter settings” link (on the left).
10. Find the created connection, right-click on it and select the “Properties” menu item.
11. On the Network tab, select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
12. In the opened window “Properties. Internet Protocol Version 4 (TCP/IPv4)” click the “Advanced” button.
13. In the “Advanced TCP/IP Settings” window that opens, uncheck the “Use default gateway on the remote network” checkbox.
14. Close all windows by pressing the OK buttons. This will display a warning that a number of changes will take effect after reconnecting.
15. For the changes to take effect, in the window opened in step 10, find your connection, right-click and select the “Disconnect” menu item.
16. Once disconnected, right-click on your connection and select Connect. When prompted for a password, fill in the “User” and “Password” fields and click “Connect”.
Remote Desktop Connection
17. Set up a VPN connection as described in step 16.
18. Launch the Remote Desktop Connection program. Usually the shortcut is located in the menu “Start -> All Programs -> Accessories -> Remote Desktop Connection”. And you can start writing the text “Connecting to a remote desktop” and the program will be found.
19. In the “Remote Desktop Connection” window that appears, enter the IP address or computer name and click “Connect”.
20. In the Windows Security window that appears, enter your username and password and click OK. If you have previously logged into the remote desktop, the system will prompt the username, see figure.
21. In the window that appears, the system will warn you that it cannot authenticate the computer, see figure. If you are sure that you are connecting to the correct computer, you can check the box “Don’t ask me again about connections to this computer” and click “Yes”.
22. After working with a remote computer, you can simply close the window. Then the session will be saved and, the next time you connect, you will see all the windows you open in the same state. If the session needs to be closed (usually this is required to be done on servers), then you need to log out of the system on the remote computer.