+370 600 56246 info@ksg.lt

How to set up a VPN server on Windows 10

How to set up a VPN server on Windows 10

Here are the step-by-step instructions to set up a VPN server using the built-in Incoming Connection feature in Windows 10.

Setup VPN server on Windows 10

A virtual private network (VPN) is one of the most popular method that allows you to access files and resources, such as applications, intranet websites, and printers using an encrypted connection from a remote location and through the internet.

Often times companies use VPN to extend their private network to let employees access resources through a public network as if they were directly connected into the company’s network.

Windows 10 like other versions of the operating system has a feature called “Incoming Connection” that enables you to set up a VPN server to connect remotely to your home network to access your computer’s files and peripherals, and even other computers in the network.

In this guide, you’ll learn how to set up a VPN server on your Windows 10 computer without the need of extra software on the Home or Pro version of the operating system.

How to find your IP address information

Before diving into the instructions, the first thing you need to know is your public IP address that has been assigned to you by your Internet Service Provider (ISP). You will need this information in order to contact your VPN server remotely.

To know your current public IP address, open your web browser, and using any search engine, do a search for “What’s my IP”, and your information should be listed in the first result.

If you’re setting up Incoming Connection in your home computer, you probably have a dynamic public IP address, which can change at any time. If this is the case, you’ll need to configure DDNS (Dynamic Domain Name System) in your router to avoid having to reconfigure the VPN setup every time your public IP address changes.

Here are some instructions that will help you set up DDNS on your router. Remember that you can visit your router’s manufacturer website for more assistance to configure DDNS.

How to set up port forwarding on your router

In order to be able to connect from through a public network, such as the internet, to your home VPN server, you’ll need to forward port 1723 (Point to Point Tunneling Protocol (PPTP)) to allow VPN connections.

Here are some instructions that will help you set up port forwarding on your router. Remember that you can visit your router’s manufacturer website for more assistance to configure Port Forwarding.

How to set up a VPN server on Windows 10

Once you have set up DDNS to use a domain name instead of a complicated IP address, and you forwarded port 1723, you are now ready to set up a VPN server in your Windows 10 PC.

  1. Use the Windows key + X keyboard shortcut to open the Power User menu and click Network Connections.
  2. Open the File menu and select New Incoming Connection.New Incoming Connection option on Windows 10
  3. Check the users you want to VPN access to your computer, and click Next.VPN user setup on Windows 10

    Alternatively, you can click the Add someone button to create a new VPN user.

    Create new VPN user on Windows 10

  4. Check the Through the Internet option, and click Next.Through the Internet
  5. In the networking software page, select Internet Protocol Version 4 (TCP/IPv4), and click Properties.Set up VPN on Windows 10 TCP/IP properties
  6. Check the Allow callers to access my local area network option.
  7. Under IP address assignment, click Specify IP addresses, and specify the number of clients allowed to access using a VPN connection. You will do this by specifying an IP address range.It’s recommended that you use high-order range of IP addresses to help avoid conflicts in the network with the IPs distributed by your router.

    Incoming IP Properties for VPN access

    Quick Tip: To find out the range of IP addresses you can use, navigate to your router’s settings page, and look for the DHCP settings.
  8. Click OK.
  9. Click Allow access.
  10. Click Close to complete setting up the VPN server on Windows 10.VPN setup completed on Windows 10

How to allow VPN connections through the firewall

While configuring the Incoming Connection feature on Windows 10 should automatically open the necessary Windows Firewall ports, you want to make sure the firewall is properly configured.

  1. Open Start, search for Allow an app through Windows Firewall, and press Enter.
  2. Click the Change settings button.
  3. Scroll down and make sure Routing and Remote Access is allowed on Private and Public.VPN server firewall configuration on Windows 10
  4. Click OK.

How to set up a VPN connection on Windows 10

After completing setting up the Windows 10 as a VPN server, you’ll need to configure the devices that will be accessing your local network remotely. You can set up any device, including your desktop PC, laptop, tablet, and even phone (e.g., Windows Phone, Android, and iPhone).

Here are the instructions to set up a VPN connection on Windows 10.

Once you set up a VPN connection on your computer, you’ll need to adjust the settings:

  1. Use the Windows key + X to open the Power User menu and click Network Connections.
  2. Right-click the VPN adapter and select Properties.VPN Connection properties
  3. Under the General tab, make sure you’re using the correct domain you created while configuring DDNS — or at least that you’re using the correct public IP address.VPN Connection address properties
  4. Click the Security tab and make sure Type of VPN is set to Point to Point Tunneling Protocol (PPTP).
  5. Under Data encryption make sure to choose Maximum strength encryption (disconnect if server declines).VPN Connection Security options on Windows 10
  6. Click OK.
  7. Click the Networking tab.
  8. Uncheck the Internet Protocol Version 6 (TCP/IPv6) option.
  9. Check the Internet Protocol Version 4 (TCP/IPv4) option.
  10. Select the Internet Protocol Version 4 (TCP/IPv4) option and select Properties.VPN Connection Networking options on Windows 10
  11. Click Advanced.VPN Connection TCP/IP properties on Windows 10
  12. Uncheck the Use default gateway on remote network option.Stop internet traffic through VPN connection
    Important: We’re disabling this option to prevent your web traffic to go through the remote connection, which can dramatically slow down your internet connection. However, if you’re looking to access the internet through a VPN connection, then don’t change this last setting.
  13. Click OK.
  14. Click OK again.
  15. Click OK once more.
  16. Use the Windows key + I keyboard shortcut to open the Settings app.
  17. Click Network & Internet.
  18. Click VPN.
  19. Select the VPN connection and click Connect.Connect to a VPN through the Settings app on Windows 10

While there are many solutions to allow users to connect remotely to a private network using a VPN connection, you can set up your own server with the tools built within Windows 10 without the need of extra software.

In addition, one of the best benefits of setting up a VPN server on your Windows 10 PC is that it’s not only secure and reliable, but it’s a great alternative for users who are still skeptical about cloud services to store their data. Even more, through a virtual private network, you can even access your device using remote desktop.