Here we can see, “How to: Fix Vpn Error 868 Connection Failed on Windows 10”
- You may encounter a notice like “Error 868” when attempting to connect to a VPN. It claims that because the name of the remote access server could not be resolved, a remote connection could not be established.
- Following the detailed procedures below, you may eliminate this problem notice and create a successful VPN connection on Windows 10.
Error 868 indicates a lost connection when you try to connect to a VPN on Windows 10.
This is the full message:
Error 868: The remote connection was not made because the name of the remote access server did not resolve.
It might not be very pleasant if you constantly get this error message.
But don’t worry; by following the instructions below, you can get rid of it and set up a successful VPN connection on Windows 10.
How do I fix VPN error 868 on Windows 10?
1. Check the IP address or domain name of the remote server
- Right-click the Start button in Windows 10 and choose Network Connections.
- On the Settings window’s left side, choose VPN.
- Click on Advanced settings after choosing your VPN connection.
- Click Edit next to Connection properties.
- Verify the server’s name or address is accurate.
Maybe you entered the incorrect server name or address by mistake. Or perhaps this data was modified in the interim by the distant server.
It can be the cause of the persistent VPN error 868 connection failed that you see on Windows 10.
2. Change your DNS settings
- Right-click the Start button in Windows 10 and choose Network Connections.
- Change adapter choices by clicking.
- Click the Properties option when you right-click your Internet connection.
- Internet Protocol Version 6 (TCP/IPv6) should be clicked twice.
- Select Utilize these DNS server addresses.
- Choose 22.214.171.124 as the preferred DNS server.
- Alternate DNS should be set to 126.96.36.199
- Click OK.
You could try modifying your DNS settings if improper DNS settings on Windows 10 brought on the VPN error 868 connection failed. The issue with the wrong DNS resolver will be resolved.
Setting the IP address rather than the domain name in the VPN connection properties will allow you to rapidly test this notion (see the previous solution for more details).
The preferred and backup DNS servers described in the abovementioned example are free, open to the public, and part of Google Public DNS. However, you can also use OpenDNS or Cloudflare.
Every time you connect to the VPN, the software runs its own unique DNS servers.
3. Use a VPN client instead of a manual VPN connection
Use a commercial VPN client rather than manually configuring a VPN connection for each server you wish to connect to. It is less prone to mistakes.
4. Open ports in the firewall for VPN traffic
- Type “firewall” into the Win key, then click Firewall & network protection.
- If User Account Control prompts you, choose Advanced options and Yes (UAC)
- Choosing Inbound Rules
- Navigate to the Action menu and choose New Rule.
- Rule Type Should Be Port
- What you need to do is as follows at Protocol and Ports:
- For PPTP: port 1723 over TCP and protocol 47 GRE*
- For L2TP/IPsec: ports 500, 1701 and 4500 over UDP
- For IKEv2: ports 500 and 4500 over UDP
- For SSTP: port 443 over TCP
- For OpenVPN: ports 53, 1194, 1197, 1198, 8080 and 9201 over UDP + ports 80, 110, 443, 501 and 502 over TCP
- For WireGuard: port 51820 over UDP
- Set the connection’s action to “Allow.”
- Choose Domain, Private, and Public under Profile.
- Add a name, then click. Finish
- Repetition of these actions should be done at Outbound Rules.
*Choose Custom as the Rule Type for protocol 47 GRE (instead of Port). Set the Protocol type to GRE after choosing Protocol and Ports.
If you’re an experienced PC user, you can use the netstat -a command to see if the ports are open or closed by opening a CMD window with admin capabilities.
5. Add an exception to the Windows firewall
- Visit Firewall & network protection.
- Click Firewall via Allow an App.
- Change settings by clicking (admin rights needed)
- Locate your VPN application on this list, then turn on the corresponding Private and Public boxes.
- Click Allow another app to find your VPN if it isn’t already there.
Your firewall may be preventing VPN traffic, which is another reason why you might be receiving the VPN error 868 connection failed message on your Windows 10 machine.
You may quickly verify this by briefly turning off the Windows firewall and attempting to connect to the VPN once more.
However, for security considerations, we strongly advise disabling the firewall once more and adding an exception in its place.
6. Check if your antivirus is blocking VPN traffic
You can skip this step if you don’t already have a third-party anti-malware program installed on your computer.
If you attempted the prior option, it indicates that Windows Defender is in charge of your security and that you have already made an exception to the firewall.
Otherwise, VPN error 868 can be caused by your anti-malware program. You can easily detect if it displays a notification message each time you attempt to connect to the VPN.
Finding the whitelist (exception) settings of your antivirus software program and placing your VPN provider there will fast solve this issue.
7. Enable VPN passthrough on your router
Depending on the firmware, your router has its own firewall. As a result, you need to check the VPN passthrough settings in the advanced settings part of your router’s admin panel after logging in.
Remember that each VPN protocol, such as PPTP and L2TP, has a separate configuration. Therefore, be sure to just activate VPN passthrough on the required protocol.
Enabling this open for all VPN protocols merely to be safe is not a smart idea. You would leave your home network vulnerable to hacker attacks.
8. Refresh your network settings
- Hit Ctrl + R to open Command Prompt with elevated access, type cmd, hold Ctrl + Shift, and press Enter.
- Copy and paste the next lines (press Enter between each line)
ipconfig /flushdns ipconfig /registerdns ipconfig /release ipconfig /renew NETSH winsock reset catalog NETSH int ipv4 reset reset.log NETSH int ipv6 reset reset.log exit
To complete the procedure, restart your computer.
You update your network connectivity settings by flushing your DNS and restarting Winsock. It might assist in resolving the VPN connection problem 868 on Windows 10.
9. Reset the TAP drivers
- Select Device Manager by performing a right-click on the Start button.
- Network adapters menu be expanded
- Locate any TAP drivers, then choose Uninstall device from the context menu of each entry.
- Select Scan for hardware changes from the Action menu after opening it.
Most VPN applications want the TAP driver. The TAP driver can therefore result in various problems if there is anything wrong with it.
However, removing the TAP device from Device Manager may easily fix this issue. After scanning your computer for hardware changes, it should automatically reinstall itself.
10. More solutions worth trying
- Update system drivers for network connectivity
- Using net stop RasMan and net start Rasman, restart the RasMan service in CMD.
- On Windows 10, disable any proxy servers you may be utilizing.
- Attempt to connect to the VPN using a different network (e.g., public WiFi, 4G)
- the most recent firmware upgrade for your router
- your router’s port forwarding configuration
- Run a speed test to assess the quality of your Internet connection.
I hope you found this guide useful. If you’ve got any questions or comments, don’t hesitate to use the shape below.
1. Trying to conect Windows 10 to L2TP VPN, connection …
2. Server not connecting workaround (using VPN). : r/xcloud
3. Please check your network settings and try again.  . im …