<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEVPNManager/isEnabled",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:objc(cs)NEVPNManager(py)enabled"
  },
  "title" : "isEnabled"
}
-->

# isEnabled

A Boolean used to toggle the enabled state of the VPN configuration.

```
var isEnabled: Bool { get set }
```

## Discussion

A VPN configuration must be enabled before it can be used to bring up a VPN tunnel. Only one Personal VPN configuration can be enabled simultaneously on the system. If another Personal VPN configuration is enabled, then this property will be automatically set to <doc://com.apple.documentation/documentation/Swift/false> in the Network Extension preferences. Note that you will need to re-load the VPN configuration from the preferences in order to see the change in value. You can register with <doc://com.apple.documentation/documentation/Foundation/NotificationCenter> to observe the [`NEVPNConfigurationChangeNotification`](/documentation/NetworkExtension/NEVPNConfigurationChangeNotification) notification for the [`NEVPNManager`](/documentation/NetworkExtension/NEVPNManager) object so that your code can detect when the VPN configuration has been disabled.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)