contador Saltar al contenido

How to set up VPN on Windows 10

configure VPN on Windows 10

Do you need to create a VPN server? Here are the steps for configure VPN on Windows 10 using the integrated function "Incoming connection?. A virtual private network (VPN) is one of the most popular methods of accessing files and resources (such as apps, intranet websites and printers) using an encrypted connection from a remote location and via the Internet. Usually companies use the VPN to extend their private network to allow employees to access resources through a public network, as if they were directly connected to the company network.

How to set up VPN on Windows 10

Windows 10, like other versions of the operating system, has an integrated function called "Incoming connection", Which allows you to add a VPN connection to connect remotely to your home network and access your computer's files and peripherals, even to other computers on the network.

In this guide we will see how to configure a VPN server on your Windows 10 computer without the need for additional third-party software on the Home or Pro version of the operating system.

How to find your IP address information

Before diving into the process, the first thing you need to know about yours public IP address that has been assigned to you by your Internet Service Provider (ISP). This information is needed to contact the VPN server remotely.

To find out your current public IP address, open your web browser and using any search engine, do a search for "What is my IP?And your information should be listed in the first result.

How to configure DDNS

If you are configuring "Incoming connection?On your home computer, you probably have a dynamic public IP address, which can change at any time. In this case, you will need to configure DDNS (Dynamic Domain Name System) in your router to avoid having to configure the VPN every time your public IP address changes.

Here are the instructions that will help you set up DDNS on your router. You can also visit the router manufacturer's website for further assistance in setting up DDNS.

By default (1) the DDNS service will be disabled, click on the drop-down menu and select the desired service – for this example we are choosing DynDNS.org. Leave the option "Do not use external IP control?Set to No. So (2) just enter the username and password for the DynDNS.org account and also (3) enter the host name created on DynDNS.org, for example, thename. dyndns.org.

The last thing left to scroll down the page, click Apply settings and then on Save. Access your DD-WRT router now and from the card Setup, go to the section DDNS. You will then be redirected to the router's dynamic DNS configuration page.

DDNS router

How to set up port forwarding on your router

To be able to connect via a public network, such as the Internet, to your home VPN server, you will need to set up the port forwarding 1723 (Point to Point Tunneling Protocol (PPTP)) to allow VPN connections.

Here are the instructions that will help you configure port forwarding on your router (port forwarding the operation that allows the transfer of data from one computer to another via a specific communication port). You can also visit the router manufacturer's website for further assistance in setting up port forwarding.

How to set up VPN on Windows 10

After configuring DDNS to use a domain name instead of a complex IP address and having configured the forwarded port 1723, you are now ready to configure a VPN server on your device:

Use these steps to create a VPN server on Windows 10:

  • Open the Control panel.
  • Click on Network and Internet and then on network and sharing center.
  • Using the left pane, click on the link Change card settings.
network and sharing center
  • On "Network connections", Open the File menu by pressing the button alt and select the option New incoming connection.
Network connections

Check the users you want to give VPN access to your computer and click the button Come on.

VPN access

Alternatively, you can click the button Add user to create a new VPN user that is not on the list.

new VPN user
  • Select the option Via the Internet.
  • Click on the button Come on.
allow connection
  • On the network software page, select the option Internet Protocol version 4 (TCP / IPv4).
  • Click on the button properties.
Internet Protocol version 4 (TCP / IPv4)
  • Select the option Allow callers to access my local network.
  • In "IP address assignment?, Click Specify IP addresses and specifies the number of clients allowed to access using a VPN connection. (You will do this by specifying a range of IP addresses and it is recommended that you use a high order range of IP addresses to avoid conflicts in the network with the IPs distributed by the router.)
IP address assignment

Quick tip: to find out the range of IP addresses that can be used, access the router settings page and look for the DHCP settings.

  • Click on the button OK.
  • Click on the button Allow access.
  • Click on the button Close to complete the configuration of the VPN server on Windows 10.
Allow access

Once all the steps are complete, the VPN server, but it won't work until you configure the firewall to allow connections.

How to allow VPN connections through the firewall

While configuring the function Incoming connection on Windows 10, you need to automatically open the necessary Windows Firewall ports, but we must make sure that the firewall is configured correctly.

To allow VPN connections through the firewall on Windows 10, follow these steps:

  • You open Start on Windows 10.
  • From Control panel select System and security.
  • Search for Allow apps through Windows Firewall and click on the main result to open the experience.
System and security
  • Click on the button Change settings.
  • Scroll down and make sure that Routing and Remote Access are allowed on private is Public.
Routing and Remote Access
  • Click on the button OK.

After completing the steps, the Windows 10 VPN server will be able to receive connections remotely from other computers.

How to set up VPN connection on Windows 10

Once you have finished configuring the VPN server on Windows 10, you will need to configure the devices that will access your local network remotely. You can configure any device, including desktops, laptops, tablets and even phones (e.g. Android and iPhone). Here are instructions for setting up a VPN connection on Windows 10.

After adding a VPN connection on your computer, you need to adjust the settings with these steps:

  • Open the Control panel.
  • Click on Network and Internet.
  • Click on network and sharing center.
  • Click on the link Change card settings from the left pane.
  • Right click on VPN connection and select the option properties.
VPN connection

In the tab General, make sure you're using the correct domain you created when setting up DDNS or at least to use the address Public IP correct.

Public IP
  • Click on the tab Safety.
  • In "VPN type", Select the option PPTP (Point to Point Tunneling Protocol).
  • In "Data encryption", Select the option Maximum power encryption (disconnect if the server refuses).
Data encryption
  • Click on the button OK.
  • Click on the Network tab.
  • Deselect the Internet Protocol version 6 (TCP / IPv6) option.
  • Select the Internet Protocol version 4 (TCP / IPv4) option.
  • Click on the button properties.
Network tab
  • Click on the button advanced.
advanced

Deselect the option Use default gateway on remote network.

Use default gateway on remote network

Important: we are disabling this option to prevent your web traffic from going through the remote connection, which can slow down your internet connection. However, if you are trying to access the Internet via a VPN connection, do not change the latter setting.

  • Click on the button OK.
  • Click the button again OK.
  • Click the button again OK.
  • You open Settings.
  • Click on Network and Internet.
  • Click on VPN.
  • Select the connection option VPN and click the button Connect.
configure vpn

Although there are many solutions to allow users to connect remotely to a private network using a VPN connection, you can configure your server with the tools created in Windows 10 without the need for additional software.