How To Fix Error VPN 868: A Simple Step-by-Step Guide

Easily fix VPN error 868 by using one of these 7 solutions

Reading time icon 7 min. read

Readers help support VPNCentral. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help VPNCentral sustain the editorial team Read more

vpn error 868

If you see VPN error 868 and don’t know how to fix it, you’ve come to the right place. The same happened to me, so I decided to find out why this error appeared and how to fix it.

Below, you’ll find several ways to tackle the error, and all you have to do is follow step-by-step guides.

Before we jump to the “how” part, let me briefly explain what VPN error 868 is.

What Is VPN Error 868?

VPN error 868 happens in Windows 10 when you try to connect to a virtual private network. The reasons you can’t make a connection range from incorrect VPN network configuration and outdated drivers to antivirus and firewall restrictions.

You get the following message: The remote connection was not made because the name of the remote access server did not resolve.

And while all that might sound complicated, it’s not. Simply follow the steps in this guide, and you’ll get rid of VPN error 868 in no time.

How To Fix VPN Error 868?

✅ Preliminary checks

The first step is to try some simple, yet likely to be effective fixes that might solve the problem. If not, you can dive into more detailed troubleshooting.

Here are a few things you should try first:

  • Restarting your computer
  • Logging in and out of your VPN
  • Restarting your router
  • Updating your router’s firmware

If that doesn’t solve the problem, you can fix VPN error 868 by trying one of the following solutions:

1. Check Your VPN Connection Settings

The reason you see error 868 can be caused by an incorrect remote server name or address. While setting up your VPN connection, you might have typed this value incorrectly or it has changed in the meantime.

To access VPN connection settings:

  1. Right-click the Windows start button and select Network Connections
  2. In the window that opens, select VPN from the left-side menu
  3. Locate your VPN, click on it, and then select Advanced Options→ Edit

Here, you’ll see the Server name or address field.

➡️Make sure that the name or address is correct.

VPN connection settings

If everything looks good, and you still get VPN error 868, move on to the next solution.

2. Add Your VPN to the Windows Firewall

VPNs are often blocked on Windows-operated machines by default.

To check if that’s the case with your system, follow these steps to add your VPN as an exception to the firewall:

  1. In the Taskbar search bar, type in Control Panel and open the app
  2. Select System and Security, then Windows Defender Firewall
    Allowing an app or feature through Windows Defender Firewall
  3. From the left side, select Allow an App or feature through Windows Defender Firewall

This will open a new window where you’ll see all apps that aren’t blocked by the firewall.

If your VPN app isn’t on that list, do the following:

  1. Click Allow another app
  2. In the window that opens, click Browse and find your VPN app
  3. Confirm your choice by clicking Add

adding a vpn to the Windows firewall
Finally, click OK and save your changes.

Alternatively, if you use third-party security software, you should whitelist your VPN in its settings.

3. Whitelist a VPN in Your Antivirus Settings

antivirus exception list

If you use another antivirus solution, you should find a section where you can block, and in this case, allow apps.

Add your VPN app, and try the next fix if the connection problem persists.

Try connecting again and if you get the same error message, it’s time to move on to the next possible solution.

4. Open a Port in the Windows Firewall

The first few steps for adding a port in the firewall are the same as the ones for adding a VPN app.

  1. Go to the Control Panel, then click Network and Security, and then Windows Defender Firewall.
Access Advanced Settings in Windows Firewall
  1. After that, select Advanced Settings, which will open a new window.
Creating a new inbound rule for Windows Defender Firewall
  1. Click Inbound Rules on the left side of the screen, then New Rule on the right side
  2. In the window that opens, select Port, then Next
  3. Choose UDP or TCP and whether the rule applies to all local ports or specific ones, e.g., 51820 over UDP for the WireGuard protocol.
  4. On the next screen, select Allow the connection.
  5. In the Profile tab, select Domain, Private, and Public.
  6. Add a name for the new rule, and click Finish.
  7. Once done, click Outbound Rule, and create a new rule following the same steps.

This should solve VPN error 868.

Still having issues? Try the next solution.

5. Flush DNS and Reset Winsock

Another reason you’re seeing VPN error 868 is that your operating system is using data from its cache instead of retrieving it from your domain name server.

If that’s the case, you need to flush your DNS. Right after that, you should restart the communication between the network and your device, which you’ll do by resetting Winsock.

This fix is simple and happens inside the command prompt app.

So, open the app by typing in Command Prompt in the Taskbar search bar, and right-click on it to run it as an administrator.

Accessing Command Prompt from the Taskbar search bar

Once in it, type the following commands one by one and press enter after each line.

  1. ipconfig /flushdns
  2. ipconfig /registerdns
  3. ipconfig /release
  4. ipconfig /renew
  5. netsh winsock reset
  6. exit

You need to restart your computer after exiting the command prompt for the changes to take effect.

At this point, try connecting again and check if you still get VPN error 868.

If the error is still there, proceed to the solution 6.

6. Change DNS Settings

A possible culprit behind VPN error 868 is incorrect DNS configuration. But the good news is that you can easily fix that by following the steps below:

  1. Right-click the Start button, and select Network Connections from the list
  2. In the window that opens, choose Change adapter option
    changing adapter options
  3. Find your network, right-click on it, and select Properties
  4. From the list of items used by the network, select Internet Protocol Version 4, then Properties
    Change DNS settings
  5. On the following screen, select the option Use the following DNS server addresses
  6. In the Preferred DNS server field type in, and, in the Alternate DSN server field type in
  7. Click OK to save the changes.

The DNS values provided above are Google’s free public DNS servers, but you can use others.

The list below contains preferred and alternate DNS servers for other reputable DNS server providers. Use any you like:

  1. Cloudflare: and
  2. OpenDNS: and
  3. Quad9: and
  4. CleanBrowsing: and

Try connecting to the VPN now to see if you’ve solved the connectivity problem.

If not, proceed to the next solution.

7. Reset TAP Drivers

One of the final solutions is to reset TAP drivers.

To do that, follow these steps:

  1. Open Device Manager by right-clicking the Start button
  2. Collapse the Network Drivers menu by clicking the arrow next to it
  3. Find a TAP driver installed on your PC, right-click on it, and select Uninstall device.
    TAP drivers
  4. After that, click the Action tab, and select the Scan for Hardware Changes option.

Related reads:


As you can see, there are quite a few ways to fix VPN error 868.

You can check if your VPN connection server details are correct, and see if your VPN is blocked by Windows firewall or antivirus software.

Additionally, you can change and flush your DNS settings, and reset TAP drivers and Winsock.

It doesn’t matter which of these fixes your problem as long as you fix VPN error 868.

Let me know in the comments below which of these helped fix the error.

More about the topics: Connection error, vpn error 868, VPN errors

Leave a Reply

Your email address will not be published. Required fields are marked *