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

# NETransparentProxyProvider

An object that implements the client side of a custom transparent network proxy solution.

```
class NETransparentProxyProvider
```

## Overview

The [`NETransparentProxyProvider`](/documentation/NetworkExtension/NETransparentProxyProvider) class has the following behavior differences from its superclass [`NEAppProxyProvider`](/documentation/NetworkExtension/NEAppProxyProvider):

- Returning `NO` from [`handleNewFlow(_:)`](/documentation/NetworkExtension/NEAppProxyProvider/handleNewFlow(_:)) and [`handleNewUDPFlow(_:initialRemoteEndpoint:)`](/documentation/NetworkExtension/NEAppProxyProvider/handleNewUDPFlow(_:initialRemoteEndpoint:)) causes the flow to proceed to communicate directly with the flow’s ultimate destination, instead of closing the flow with a “Connection Refused” error.
- This provider ignores [`NEDNSSettings`](/documentation/NetworkExtension/NEDNSSettings) and [`NEProxySettings`](/documentation/NetworkExtension/NEProxySettings) specified within [`NETransparentProxyNetworkSettings`](/documentation/NetworkExtension/NETransparentProxyNetworkSettings). Flows that match the [`includedNetworkRules`](/documentation/NetworkExtension/NETransparentProxyNetworkSettings/includedNetworkRules) within [`NETransparentProxyNetworkSettings`](/documentation/NetworkExtension/NETransparentProxyNetworkSettings) use the same DNS and proxy settings that other flows on the system currently use.
- Flows that are created using a “connect by name” API (such as <doc://com.apple.documentation/documentation/Network> framework or <doc://com.apple.documentation/documentation/Foundation/URLSession>) that match the [`includedNetworkRules`](/documentation/NetworkExtension/NETransparentProxyNetworkSettings/includedNetworkRules) don’t bypass DNS resolution.

---

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)