<!--
{
  "documentType" : "article",
  "framework" : "CFNetwork",
  "identifier" : "/documentation/CFNetwork/global-proxy-settings-constants",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Global Proxy Settings Constants"
}
-->

# Global Proxy Settings Constants

Constants for keys in the global proxy settings dictionary returned by [`CFNetworkCopySystemProxySettings()`](/documentation/CFNetwork/CFNetworkCopySystemProxySettings()).

## Topics

### Constants

[`kCFNetworkProxiesExceptionsList`](/documentation/CFNetwork/kCFNetworkProxiesExceptionsList)

Value is a `CFArray` of `CFString` objects indicating host name patterns that should bypass the proxy.

[`kCFNetworkProxiesExcludeSimpleHostnames`](/documentation/CFNetwork/kCFNetworkProxiesExcludeSimpleHostnames)

Value is a `CFNumber` object indicating whether simple host names are excluded. Simple host names are excluded if the key is present and the associated value is nonzero.

[`kCFNetworkProxiesFTPEnable`](/documentation/CFNetwork/kCFNetworkProxiesFTPEnable)

Value is a `CFNumber` object indicating whether an FTP proxy is enabled. The proxy is enabled if the key is present and the associated value is nonzero.

[`kCFNetworkProxiesFTPPassive`](/documentation/CFNetwork/kCFNetworkProxiesFTPPassive)

Value is a `CFNumber` object indicating whether an FTP proxy’s passive mode is enabled. The passive mode is enabled if the key is present and the associated value is nonzero.

[`kCFNetworkProxiesFTPPort`](/documentation/CFNetwork/kCFNetworkProxiesFTPPort)

Value is a `CFNumber` object indicating the port number of an FTP proxy.

[`kCFNetworkProxiesFTPProxy`](/documentation/CFNetwork/kCFNetworkProxiesFTPProxy)

Value is a `CFString` object indicating the host name or IP number of an FTP proxy.

[`kCFNetworkProxiesGopherEnable`](/documentation/CFNetwork/kCFNetworkProxiesGopherEnable)

Value is a `CFNumber` object indicating whether a gopher proxy is enabled. The proxy is enabled if the key is present and the associated value is nonzero.

[`kCFNetworkProxiesGopherPort`](/documentation/CFNetwork/kCFNetworkProxiesGopherPort)

Value is a `CFNumber` indicating the port number of a gopher proxy.

[`kCFNetworkProxiesGopherProxy`](/documentation/CFNetwork/kCFNetworkProxiesGopherProxy)

Value is a `CFString` object indicating the host name or IP number of a gopher proxy.

[`kCFNetworkProxiesHTTPEnable`](/documentation/CFNetwork/kCFNetworkProxiesHTTPEnable)

Value is a `CFNumber` object indicating whether an HTTP proxy is enabled. The proxy is enabled if the key is present and the associated value is nonzero.

[`kCFNetworkProxiesHTTPPort`](/documentation/CFNetwork/kCFNetworkProxiesHTTPPort)

Value is a `CFNumber` object containing the port number associated with the HTTP proxy.

[`kCFNetworkProxiesHTTPProxy`](/documentation/CFNetwork/kCFNetworkProxiesHTTPProxy)

Value is a `CFString` object containing the HTTP proxy host name or IP number.

[`kCFNetworkProxiesHTTPSEnable`](/documentation/CFNetwork/kCFNetworkProxiesHTTPSEnable)

Value is a `CFNumber` object indicating whether an HTTPS proxy is enabled. The proxy is enabled if the key is present and the associated value is nonzero.

[`kCFNetworkProxiesHTTPSPort`](/documentation/CFNetwork/kCFNetworkProxiesHTTPSPort)

Value is a `CFNumber` object containing the port number associated with the HTTPS proxy.

[`kCFNetworkProxiesHTTPSProxy`](/documentation/CFNetwork/kCFNetworkProxiesHTTPSProxy)

Value is a `CFString` object containing the HTTPS proxy host name or IP number.

[`kCFNetworkProxiesRTSPEnable`](/documentation/CFNetwork/kCFNetworkProxiesRTSPEnable)

Value is a `CFNumber` object indicating whether an RTSP proxy is enabled. The proxy is enabled if the key is present and the associated value is nonzero.

[`kCFNetworkProxiesRTSPPort`](/documentation/CFNetwork/kCFNetworkProxiesRTSPPort)

Value is a `CFNumber` object containing the port number associated with the RTSP proxy.

[`kCFNetworkProxiesRTSPProxy`](/documentation/CFNetwork/kCFNetworkProxiesRTSPProxy)

Value is a `CFString` object containing the RTSP proxy host name or IP number.

[`kCFNetworkProxiesSOCKSEnable`](/documentation/CFNetwork/kCFNetworkProxiesSOCKSEnable)

Value is a `CFNumber` object indicating whether a SOCKS proxy is enabled. The proxy is enabled if the key is present and the associated value is nonzero.

[`kCFNetworkProxiesSOCKSPort`](/documentation/CFNetwork/kCFNetworkProxiesSOCKSPort)

Value is a `CFNumber` object containing the port number associated with the SOCKS proxy.

[`kCFNetworkProxiesSOCKSProxy`](/documentation/CFNetwork/kCFNetworkProxiesSOCKSProxy)

Value is a `CFString` object containing the SOCKS proxy host name or IP number.

[`kCFNetworkProxiesProxyAutoConfigEnable`](/documentation/CFNetwork/kCFNetworkProxiesProxyAutoConfigEnable)

Value is a `CFNumber` object indicating whether proxy autoconfiguration is enabled. Proxy autoconfiguration is enabled if the key is present and the associated value is nonzero.

[`kCFNetworkProxiesProxyAutoConfigJavaScript`](/documentation/CFNetwork/kCFNetworkProxiesProxyAutoConfigJavaScript)

Value is a `CFString` object that contains the full JavaScript source of the ProxyAutoConfig (PAC) file.

[`kCFNetworkProxiesProxyAutoConfigURLString`](/documentation/CFNetwork/kCFNetworkProxiesProxyAutoConfigURLString)

Value is a `CFString` object that contains the URL of the proxy autoconfiguration (PAC) file.

[`kCFNetworkProxiesProxyAutoDiscoveryEnable`](/documentation/CFNetwork/kCFNetworkProxiesProxyAutoDiscoveryEnable)

Value is a `CFNumber` object indicating whether proxy autodiscovery is enabled. Proxy autodiscovery is enabled if the key is present and the associated value is nonzero.



---

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)