---
title: matchLocalNetwork
framework: networkextension
role: symbol
role_heading: Instance Property
path: networkextension/nenetworkrule/matchlocalnetwork
---

# matchLocalNetwork

The local network that the rule matches.

## Declaration

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

## See Also

### Matching network traffic characteristics

- [matchRemoteEndpoint](networkextension/nenetworkrule/matchremoteendpoint.md)
- [matchRemotePrefix](networkextension/nenetworkrule/matchremoteprefix.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)
