1
Identify the Error Type
Most VPN clients display an error code or message when a connection attempt fails. Identifying the error category upfront saves significant diagnostic time.Common VPN errors and their likely causes:
Authentication failure / Invalid credentials
Authentication failure / Invalid credentials
- Your password has expired or been reset by an administrator.
- Multi-factor authentication (MFA) token was entered incorrectly or has expired.
- Your account has been locked out after too many failed attempts.
- The username format is wrong (e.g.,
usernamevs.DOMAIN\usernamevs.[email protected]).
Connection timeout / Server unreachable
Connection timeout / Server unreachable
- The VPN server hostname or IP address is incorrect.
- The VPN server is temporarily down or under maintenance.
- A local firewall or security software is blocking the VPN port.
- Your ISP is blocking VPN protocols (uncommon but possible on public Wi-Fi or in certain countries).
Split tunneling / Routing issues
Split tunneling / Routing issues
- After connecting, some traffic routes through the VPN while other traffic does not, depending on policy.
- Internal resources are accessible but internet-only sites are slow or broken.
- DNS resolves internal names correctly but external names fail (or vice versa).
VPN connects but no access to internal resources
VPN connects but no access to internal resources
- Your assigned VPN IP address is not in a permitted subnet.
- Access control policies on the server restrict traffic to specific resources.
- The internal resource’s DNS name is not resolving through the VPN’s DNS server.
Always record the exact error message and any error code your VPN client displays. This information is essential for your IT team if you need to escalate.
2
Verify Your Credentials
Authentication failures are the most common VPN error and the easiest to resolve.
- Confirm your password is current. Corporate passwords often expire on a 30–90 day cycle. Try logging into another company service (email, HR portal) with the same password to rule out expiry.
- Check the username format required by your VPN. Try each variation:
usernameDOMAIN\username[email protected]
- Verify your MFA method. If your VPN uses a one-time passcode (TOTP), make sure your authenticator app’s clock is synchronized. On a smartphone, enable automatic time sync:
- iOS: Settings → General → Date & Time → Set Automatically
- Android: Settings → General Management → Date and Time → Automatic date and time
- Check for account lockout. Most corporate environments lock an account after 3–5 failed attempts. Contact your IT helpdesk to unlock it rather than retrying the VPN, which will only extend the lockout.
3
Verify the VPN Server Address
An incorrect server address causes a connection timeout that can look identical to a firewall block or a server outage.
- Open your VPN client’s settings or profile configuration.
- Compare the server address (hostname or IP) against the value documented in your company’s IT onboarding guide or help portal.
- If the server address is a hostname (e.g.,
vpn.company.com), confirm it resolves correctly:
- If nslookup returns no result, the DNS entry may be missing or your current DNS server may not have access to it. Try with a public DNS server:
- Test basic reachability to the server on the VPN port. Common VPN ports are:
4
Test Connectivity Without the VPN
Isolating whether the problem is VPN-specific or affects your general connection helps narrow the cause.
- Disconnect from the VPN completely.
- Open a browser and confirm you can load external websites such as
google.com. - Run a speed test (see the Slow Network guide if needed) to confirm your baseline connection is healthy.
- If your internet works fine without the VPN but the VPN still cannot connect, the issue is specific to the VPN client, server, or firewall policy.
- If your internet is also broken without the VPN, address the underlying connectivity issue first by following the No Internet Connection guide.
- If you are on a public Wi-Fi network (coffee shop, hotel), try switching to your mobile hotspot. Some public networks aggressively block VPN protocols, especially UDP-based ones.
- If the VPN works on mobile hotspot but not on the office or home Wi-Fi, the local router’s firewall is blocking VPN traffic.
5
Check Firewall and Security Software
Local firewalls and third-party security software are a frequent cause of VPN connection failures, particularly after a software update changes the firewall policy.Windows Firewall:Third-party antivirus / security suites:
- Search for Windows Defender Firewall in the Start menu and open it.
- Click Allow an app or feature through Windows Defender Firewall.
- Scroll through the list to find your VPN client and confirm it is checked for both Private and Public networks.
- If it is not listed, click Allow another app and browse to the VPN client executable.
- Temporarily disable features such as Web Shield, Firewall, or Network Protection in your antivirus software.
- Test the VPN connection with these features off.
- If the VPN connects with security software disabled, add the VPN client as a trusted application or exception in the antivirus settings, then re-enable the security features.
6
Reinstall the VPN Client
If the VPN client configuration files or runtime components have become corrupted — often after an OS update — a clean reinstall usually resolves the issue.Windows:
- Open Settings → Apps → Installed Apps, search for your VPN client, and click Uninstall.
- After uninstalling, manually remove any leftover configuration folders:
- Restart your computer.
- Download the latest version of the VPN client from your company’s IT portal or the vendor’s official website.
- Install it and re-import your connection profile.
- Drag the VPN application to the Trash, or use the uninstaller provided by the vendor (common for Cisco AnyConnect and GlobalProtect).
- Remove keychain entries:
- Open Keychain Access (Spotlight: Cmd + Space, type
Keychain Access). - Search for your VPN server’s hostname and delete any stored entries.
- Open Keychain Access (Spotlight: Cmd + Space, type
- Restart your Mac.
- Download and reinstall the client from your IT portal.
Before uninstalling, take a screenshot or note of your current VPN profile settings (server address, authentication type, group name) so you can recreate the configuration after reinstalling.
7
Escalation Steps
If you have verified credentials, confirmed the server address, ruled out firewall blocks, and performed a clean reinstall without success, the issue requires investigation by your IT or network security team.
Information to collect before escalating
Information to collect before escalating
- Exact error message and error code displayed by the VPN client
- VPN client name and version number (e.g., Cisco AnyConnect 4.10, GlobalProtect 6.1, OpenVPN Connect 3.4)
- Operating system version (e.g., Windows 11 22H2, macOS 14.3)
- Output of
nslookup vpn.company.comandTest-NetConnection/ncresults for the VPN port - Network you are connecting from — home broadband, office LAN, mobile hotspot, hotel Wi-Fi
- VPN client log files — most clients write detailed logs that IT can interpret:
- Cisco AnyConnect (Windows):
C:\Users\<username>\AppData\Local\Cisco\Cisco AnyConnect Secure Mobility Client\ - GlobalProtect (Windows):
C:\Program Files\Palo Alto Networks\GlobalProtect\PanGPA.log - OpenVPN (Windows):
C:\Users\<username>\OpenVPN\log\ - OpenVPN (macOS/Linux):
~/.config/openvpn/or/var/log/openvpn.log
- Cisco AnyConnect (Windows):
- Whether the issue is intermittent or persistent — does it fail every time, or only under specific conditions?