When you are in the dangerous world of Wi-Fi, it is difficult for an average computer user to stay protected or even know what protection entails. Few people know that Windows 7 has a built-in security system that few people use: the VPN server and client (virtual private network).
A VPN consists of two parts: the server and the client. The server can be a computer that you have at home, and the VPN client connects to that home server using an encrypted connection. It skips all the Internet traffic of your computer that you send through it. When using VPN as a tunnel, our computer does not ask for pages. This means that we are protected against packet interception and man-in-the-middle attacks. You can also access shared media on the VPN server! What a great deal!
In this post we are going to use the built-in Windows 7 server and VPN client to tunnel our traffic and encrypt it on the go.
Step 1. VPN Server Setup
Let’s start configuring the VPN server. This will be your desktop, which will stay at home.
- Click Start> Control Panel.
- Click Network and Internet.
- Click the Network and Sharing Center.
- Click “Change adapter settings” in the left pane.
- Press Alt. Then, in the new file menu that appears, select File> New incoming connection.
- Check the box next to the user you want to remotely access. (Make sure you have a strong password. The last thing you need is someone to crack your weak password and gain access to your home files). Click “Next”.
- You need to leave IPv4 marked for this part. If you need to share files and printers, enable it here. Click Allow access.
- Overlook at the information he offers you to track. I would put it in a .txt file on a laptop client computer that we will connect to later. Click “Close”.
- Specify your Internet connection in the “Change adapter settings” section as well as a new incoming VPN connection. Right-click on them and select “Bridge Connections”.
Step 2. Turn on port forwarding
We must make sure that our router does not filter the port we need for our VPN by enabling port forwarding.
- Click Start. In the search box, type “cmd” and press Enter. At the command line, type “ipconfig”, and it will display your default gateway and IP address, notice both.
- Go to the router configuration page, the default address is 192.168.1.1. Enter it in the browser address bar or enter the one you received in the previous step.
- Enter your username and password for the router. The default is usually admin: password.
- Click Port Forwarding somewhere on the page, they all look different. Here’s what mine looked like: Security Mastering, Part 2: How to create a home VPN tunnel
For me, I clicked “Port Forwarding”, clicked the drop-down menu and chose PPTP (Point-to-Point Tunneling Protocol), which is used in Windows VPN. If you need to enter information manually, the server is your IP address from step 1 and the port is 1723. If you need to enter the destination port, it is also 1723. Save the settings.
This is it! It’s time to set up the client!