---
title: "The connection was terminated because the VPN server is not responding on Mac · Kilobat Guides"
url: "https://kilobat.app/guides/vpn-server-is-not-responding"
description: "The VPN drops with The connection was terminated because the VPN server is not responding. Find why keepalives fail."
---

# “The connection was terminated because the VPN server is not responding” on Mac

The VPN worked, then the Mac stopped getting replies from the server. The Mac ended the connection and asks you to reconnect.

**Fix this with your agent**Copies a prompt for Claude Code, Codex or any agent that can use Terminal.

My Mac has this problem: “The connection was terminated because the VPN server is not responding” on Mac. Read https://kilobat.app/guides/vpn-server-is-not-responding.md and work through it with me. Install the Kilobat CLI if it’s missing: brew install seifip/kilobat/kilobat. Run the guide’s Terminal and kilobat checks yourself and tell me what you find. List the steps only I can do. Ask before you change any setting.

Applies to: macOS 13 Ventura and later. The text was checked in PPPController on macOS 27.2. · Checked: 29 October 2026

## Symptoms

- System Settings › VPN shows “The connection was terminated because the VPN server is not responding. Try reconnecting.”
- The VPN drops after some minutes, or after sleep.
- The Wi-Fi link looks fine.

## Likely causes

- **A network change.** A new Wi-Fi network, a sleep or a roam can cut the path to the server.
- **A bad or slow link.** Packet loss can hide the replies of the server.
- **A NAT or firewall that drops idle sessions.** The router forgets the session after a short time.
- **The server is down.** The server stopped, or it restarted.

## How to check

1. Check the server address in System Settings › VPN. Look for typing errors and extra spaces.
2. Test that the server answers. Look up its name.

   ```
   dscacheutil -q host -a name vpn.example.com
   ```
3. List the VPN services and their state.

   ```
   scutil --nc list
   ```
4. Try another network, such as a phone hotspot. If it works, the first network blocks the VPN.

## How to fix it

1. Connect again. If it stays up, the drop was a network change.
2. Test the link for loss. See [Test for packet loss on a Mac with ping](https://kilobat.app/guides/packet-loss-mac).
3. Stay on one network. See [VPN disconnects when the Mac sleeps](https://kilobat.app/guides/vpn-disconnects-after-sleep) for sleep.
4. Ask the provider whether the server restarted, and whether another server is available.

## With Kilobat

1. Test the server name and the path to it before you try the VPN again.

   ```
   kilobat why vpn.example.com
   ```
2. The CLI is free. In the app, the advice from these checks is part of Kilobat Pro. See [Find why one site or API won't connect](https://kilobat.app/guides/recipes/why-cant-it-connect).

## Questions

**Why does it happen after sleep?**

The path can change while the Mac sleeps. The server then sees no replies. See the sleep guide.

**Does Wi-Fi cause it?**

It can. Packet loss on Wi-Fi hides replies. Test the link.

## Sources

- Error text in PPPController.bundle (SystemConfiguration), macOS 27.2 (Localizable.loctable)
- [Apple Support: Set up a VPN connection on Mac](https://support.apple.com/guide/mac-help/set-up-a-vpn-connection-on-mac-mchlp2963/mac)
- [Apple Support: Change options for L2TP over IPSec VPN connections on Mac](https://support.apple.com/guide/mac-help/change-options-for-l2tp-over-ipsec-vpn-connections-mh119412/mac)
- scutil(8), man page installed with macOS 27.2

Checked on 29 October 2026.

## Related guides

- [“The VPN server did not respond” on Mac](https://kilobat.app/guides/vpn-server-did-not-respond): The Mac sent its request, and nothing came back.
- [VPN disconnects when the Mac sleeps](https://kilobat.app/guides/vpn-disconnects-after-sleep): When the Mac sleeps, its network connection goes down, and most VPN tunnels go down with it.
- [VPN connected but no internet on a Mac](https://kilobat.app/guides/vpn-connected-no-internet): A VPN sends traffic through a tunnel.
- [Mac Wi-Fi disconnects after sleep](https://kilobat.app/guides/wifi-disconnects-after-sleep): After sleep, the Mac must join the Wi-Fi network again.
