---
title: matchRemoteEndpoint
framework: networkextension
role: symbol
role_heading: Instance Property
path: networkextension/nenetworkrule/matchremoteendpoint
---

# matchRemoteEndpoint

The remote endpoint that the rule matches.

## Declaration

```swift
var matchRemoteEndpoint: NWHostEndpoint? { get }
```

## See Also

### Matching network traffic characteristics

- [matchRemotePrefix](networkextension/nenetworkrule/matchremoteprefix.md)
- [matchLocalNetwork](networkextension/nenetworkrule/matchlocalnetwork.md)
- [matchLocalPrefix](networkextension/nenetworkrule/matchlocalprefix.md)
- [matchProtocol](networkextension/nenetworkrule/matchprotocol.md)
- [NENetworkRule.Protocol](networkextension/nenetworkrule/protocol.md)
- [matchDirection](networkextension/nenetworkrule/matchdirection.md)
- [NETrafficDirection](networkextension/netrafficdirection.md)
