---
title: protocol
framework: networkextension
role: symbol
role_heading: Instance Property
path: networkextension/nevpnmanager/protocol
---

# protocol

An NEVPNProtocol object containing the configuration settings of the VPN tunneling protocol.

## Declaration

```swift
var `protocol`: NEVPNProtocol? { get set }
```

## Discussion

Discussion For NEVPNManager objects, this property can be set to either an NEVPNProtocolIPSec object or an NEVPNProtocolIKEv2 object.

## See Also

### Accessing VPN configuration properties

- [isEnabled](networkextension/nevpnmanager/isenabled.md)
- [protocolConfiguration](networkextension/nevpnmanager/protocolconfiguration.md)
- [localizedDescription](networkextension/nevpnmanager/localizeddescription.md)
- [isOnDemandEnabled](networkextension/nevpnmanager/isondemandenabled.md)
- [onDemandRules](networkextension/nevpnmanager/ondemandrules.md)
