How to Fix VPN Error 628 - Troubleshooting Steps Made Easy

Smooth out VPN bumps! Fix error 628 effortlessly with this step-by-step guide!

Reading time icon 5 min. read

Readers help support VPNCentral. When you make a purchase using links on our site, we may earn an affiliate commission. Tooltip Icon

Read the affiliate disclosure page to find out how can you help VPNCentral effortlessly and without spending any money. Read more


Tired of getting VPN error 628? Facing it can be daunting when you want to browse anonymously.

Luckily for you, I’ve figured out what’s causing it and how to fix it. So, if you want to get back to smooth VPN connections, I’ll walk you through all you need to know.

What is VPN Error 628?

vpn error 628

VPN error 628 occurs when your VPN client cannot establish a connection with a remote server. It suggests that the network is inaccessible or that the remote server has terminated the connection. Typically, it occurs on Windows PCs and is often linked to the PPTP and L2TP tunneling protocols.

Potential causes include network issues, firewall interference, and incorrect settings.

Below, I’ll explain various methods you can try to fix it.

How to Fix VPN Error 628?

You can easily fix VPN Error 628 by:

  • Adding the VPN as an exception in Windows Firewall and Antivirus.
  • Running Network Troubleshooter.
  • Uninstalling and reinstalling Miniports.
  • Modifying Security Settings.
  • Disabling Proxy.

I’ll walk you through each fix in a detailed step-by-step guide.

1. Add the VPN as An Exception in You Firewall and Antivirus

You may receive VPN Error 628 if your Windows Firewall or Antivirus detects the VPN as a threat and blocks it.

As Windows Firewall and Antivirus play a vital role in safeguarding your computer, you cannot disable them. However, you can add exceptions to them.

Follow the below steps to add your VPN as an exception:

Windows Firewall

  1. Tap the Start button on your keyboard, type “control panel,” then click Enter.
  2. Select “System and Security.”
System and Security
  1. Click “Windows Defender Firewall.”
Windows Defender Firewall
  1. Select “Advanced Settings.”
Advanced Settings
  1. Tap “Inbound Rules.”
windows firewall Inbound Rules
  1.  Click “New Rule.”
New Inbound Rule
  1. Click “Program” then tap Next.
  1. Click on the Browse button.
Browse file
  1. Select the VPN and click “Open.”
Pick VPN
  1. Tap “Next.”
Selected file
  1. Pick “Allow the connection” then click “Next.”
Allow the connection
  1. Decide when the rule should be applied. Whether it’s Domain, Private, or Public. Click the Next button.
Rule application
  1. Fill in a name and description, then click Finish.
Add name and description

Follow the below steps to add your VPN as an exception in your Mac Firewall:

  1. Go to Security & Privacy and tap Firewall.
  2. Tap “+” symbol.
  3. Select the VPN.
  4. Tap the Add button.
  5. Select “Allow incoming connections” or “Block incoming connections.”
  6. Tap OK.


To add your VPN as an exception in your Antivirus, follow the below steps:

  1. Tap the Windows button, type “Window Security,” and click enter.
  2. Click “Virus & threat protection.”
Virus & threat protection
  1. Tap “Manage settings.”
Manage settings
  1. Click “Add or remove exclusions” under Exclusions.
Add or remove exclusions
  1. Click “Add an exclusion” and select your VPN.
Add an exclusion

Check if the error has disappeared. If it is still recurring, try the next fix.

2. Run Network Troubleshooter

VPN Error 628 may also arise due to local network issues. Troubleshooting your network will help you identify possible solutions.

Follow the below steps to use Network Troubleshooter:

  1. Right-click on Start and tap the Settings button.
  2. Double-tap “Network & Internet.”
Network & Internet
  1. Click “Network Troubleshooter” under the Advanced Network Settings section.
Network Troubleshooter
  1. Pick a network adapter you want to diagnose but if you are not sure, select all network adaptors and tap Next.
All network adaptors
  1. Implement the suggested fixes.

Follow the below steps to run a Network Troubleshooter on Mac:

  1. Click on the Apple icon and select “System Preferences.”
  2. Tap “Network.”
  3. Select the active connection (Wi-Fi or Ethernet) experiencing issues.
  4. Click “Assist Me” or “Diagnose.”
  5. Tap “Network Diagnostics.”
  6. Apply the suggestions.

3. Uninstall and Reinstall Miniports

Over time, Miniports can become corrupted due to software conflicts, incomplete installations, or system errors. Uninstalling and reinstalling them can eliminate these corruptions and restore proper functionality.

Follow the below steps to uninstall and reinstall Miniports:

  1. Right-click on Start and tap on the Device Manager button.
  2. Double-tap “Network adapters” to expand it.
Network adapters
  1. Right-click “WAN Miniport (SSTP)” then tap Uninstall device.
WAN Miniport (SSTP)
  1. You’ll be notified that you are about to uninstall the device from the system. TapUninstall.
Unistall WAN Miniport (SSTP)
  1. Follow the same process to uninstall all the other Miniports from your system.
  2. Reboot your system, and Windows will automatically reinstall the default drivers.

4. Modify Security Settings

Your Windows security settings could be another reason VPN Error 628 is popping up. To modify your settings, follow the below steps:

  1. Right-click on Start then tap the Network Connections button.
  2. Under Advanced network settings, tap the Change adapter options button.
Change adapter options
  1. Right-click on your VPN connection and click Properties.
  2. On the Security tab, mark “Allow these protocols”. 
  3. Under the protocols, tick the “Challenge Handshake Authentication Protocol (CHAP)” and Microsoft CHAP version 2 (MS-CHAP v2) checkboxes, then press the OK button.
Allow Protocols
  1. Reboot your computer. 

5. Disable Proxy

The proxy settings may interfere with the proper configuration of the VPN, leading to VPN Error 628. To disable Proxy, follow the below steps: 

  1. Right-click the Windows icon, then select Network Connections.
  2. Tap “Proxy” under Network & Internet.
  1. If the Use setup script button was enabled, turn it off.
  2. Turn off “Use a proxy server” under the Manual proxy setup.
Turn off proxy
  1. Make sure to restart your computer to apply the changes.

You may also want to read:


Encountering VPN Error 628 can be frustrating, but with the right fixes, you can quickly resolve the issue and regain seamless access to your VPN. Try out the fixes we’ve discussed above and you’ll be back to enjoying a secure and reliable VPN connection in no time.

More about the topics: fix, VPN Error 628