---
title: NERelay
framework: Network Extension
role: symbol
role_heading: Class
platforms: [iOS 17.0+, iPadOS 17.0+, Mac Catalyst 17.0+, macOS 14.0+, tvOS 17.0+, visionOS 1.0+]
path: networkextension/nerelay
---

# NERelay

A single relay server configuration that you can chain together with other relays.

## Declaration

```swift
class NERelay
```

## Overview

Overview Relay servers are secure HTTP proxies that allow proxying TCP traffic using the CONNECT method and UDP traffic using the connect-udp protocol defined in RFC 9298.

## Topics

### Configuring server properties

- [http3RelayURL](networkextension/nerelay/http3relayurl.md)
- [http2RelayURL](networkextension/nerelay/http2relayurl.md)
- [dnsOverHTTPSURL](networkextension/nerelay/dnsoverhttpsurl.md)
- [rawPublicKeys](networkextension/nerelay/rawpublickeys.md)

### Configuring client properties

- [additionalHTTPHeaderFields](networkextension/nerelay/additionalhttpheaderfields.md)
- [identityData](networkextension/nerelay/identitydata.md)
- [identityDataPassword](networkextension/nerelay/identitydatapassword.md)
- [syntheticDNSAnswerIPv4Prefix](networkextension/nerelay/syntheticdnsansweripv4prefix.md)
- [syntheticDNSAnswerIPv6Prefix](networkextension/nerelay/syntheticdnsansweripv6prefix.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Relay configuration

- [NERelayManager](networkextension/nerelaymanager.md)
