<!--
{
  "availability" : [
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NETransparentProxyNetworkSettings",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:objc(cs)NETransparentProxyNetworkSettings"
  },
  "title" : "NETransparentProxyNetworkSettings"
}
-->

# NETransparentProxyNetworkSettings

A specification of what traffic to route through a transparent proxy.

```
class NETransparentProxyNetworkSettings
```

## Overview

A proxy network settings object contains two properties: an array of rules to include traffic ([`includedNetworkRules`](/documentation/NetworkExtension/NETransparentProxyNetworkSettings/includedNetworkRules)) and an array of rules to exclude traffic ([`excludedNetworkRules`](/documentation/NetworkExtension/NETransparentProxyNetworkSettings/excludedNetworkRules)). The exclusion rules take prirority. Therefore, if a given flow matches any of the [`excludedNetworkRules`](/documentation/NetworkExtension/NETransparentProxyNetworkSettings/excludedNetworkRules), evaluation ends and the flow doesn’t route to the proxy. If there’s no match, then evaluation continues and attempts to match the flow against the [`includedNetworkRules`](/documentation/NetworkExtension/NETransparentProxyNetworkSettings/includedNetworkRules).

## Topics

### Traffic routing rules

[`includedNetworkRules`](/documentation/NetworkExtension/NETransparentProxyNetworkSettings/includedNetworkRules)

An array of rules that collectively specify what traffic to route through the transparent proxy.

[`excludedNetworkRules`](/documentation/NetworkExtension/NETransparentProxyNetworkSettings/excludedNetworkRules)

An array of rules that collectively specify what traffic to not route through the transparent proxy.

## Relationships

### Conforms To

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`Equatable`](/documentation/Swift/Equatable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`Hashable`](/documentation/Swift/Hashable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSCopying`](/documentation/Foundation/NSCopying)

### Inherits From

[`NETunnelNetworkSettings`](/documentation/NetworkExtension/NETunnelNetworkSettings)

---

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)