<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEProxyServer",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:objc(cs)NEProxyServer"
  },
  "title" : "NEProxyServer"
}
-->

# NEProxyServer

`NEProxyServer` contains settings for a proxy server.

```
class NEProxyServer
```

## Overview

`NEProxyServer` instances are used inside of [`NEProxySettings`](/documentation/NetworkExtension/NEProxySettings) instances to configure proxy settings for VPN connections.

## Topics

### Initializing a Proxy Server

[`-  initWithAddress:port:`](/documentation/NetworkExtension/NEProxyServer/init(address:port:))

Initialize a newly-allocated `NEProxyServer` object

### Accessing Proxy Server Properties

[`address`](/documentation/NetworkExtension/NEProxyServer/address)

The address of the proxy server.

[`port`](/documentation/NetworkExtension/NEProxyServer/port)

The TCP port on which the proxy server is listening for connections.

[`authenticationRequired`](/documentation/NetworkExtension/NEProxyServer/authenticationRequired)

A Boolean indicating if the server requires authentication credentials.

[`username`](/documentation/NetworkExtension/NEProxyServer/username)

The username portion of the authentication credential to be used to authenticate with the proxy server.

[`password`](/documentation/NetworkExtension/NEProxyServer/password)

The password portion of the authentication credential to be used to authenticate with the proxy server.

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

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

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)