excludeLocalNetworks
A Boolean value that indicates whether the system excludes all traffic destined for local networks from the tunnel.
Declaration
var excludeLocalNetworks: Bool { get set }Mentioned in
Discussion
If this property is true, the system excludes network connections to hosts on the local network — such as AirPlay, AirDrop, and CarPlay — but only when the includeAllNetworks or enforceRoutes property is also true. NETransparentProxyManager doesn’t support this property.
The default value for this property is false in macOS and true in iOS.