The configuration of the current tunneling session.
SDKs
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
Framework
- Network
Extension
Declaration
@property(readonly) NEVPNProtocol *protocolConfiguration;
Discussion
The configuration is created by the containing app of the Tunnel Provider using the NETunnel
class, or by the ingestion of a com
or a com
configuration profile payload. See the NETunnel
class for more details.
For NEPacket
subclasses and NEApp
subclasses, this property will be set to a NETunnel
object.
NETunnel
subclasses can observe this property using KVO to be notified when the configuration changes. For details see Key-Value Observing Programming Guide.