Establish local vpn connections to sites instead of relaying
Dont remove non controlled routes
Add preferLocalRoutes option to prefer local routes over vpn routes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/fosrl/olm/pull/130
**Author:** [@oschwartz10612](https://github.com/oschwartz10612)
**Created:** 7/19/2026
**Status:** ✅ Merged
**Merged:** 7/19/2026
**Merged by:** [@oschwartz10612](https://github.com/oschwartz10612)
**Base:** `main` ← **Head:** `dev`
---
### 📝 Commits (10+)
- [`9513433`](https://github.com/fosrl/olm/commit/9513433c07eab2d621aa3b4d39e79e4f25f9ce23) Add match domains config
- [`7929ce9`](https://github.com/fosrl/olm/commit/7929ce9cf900c1d5f8bfcc50e0fa7da8c34e5e5c) Test local connections and choose those first
- [`0e06fb0`](https://github.com/fosrl/olm/commit/0e06fb0152efdd60ed0d5da1ddb79f3bc5731b9b) Rapid test the local endpoints as well
- [`a2f0f64`](https://github.com/fosrl/olm/commit/a2f0f64c2f8481dc571901429408fef2d5c71ab6) Cancel local send from chainId
- [`e1214e2`](https://github.com/fosrl/olm/commit/e1214e21cddb72cb6b3c7a3f2c0de82790b8918b) Reflect local status in the api
- [`3d88b32`](https://github.com/fosrl/olm/commit/3d88b321e8652a7a4e63c70a380127b3f692a893) Rapid test again when we fail local
- [`39aaaaf`](https://github.com/fosrl/olm/commit/39aaaafa17d29c0f104d976faee5002f8c7728b2) Dont remove non controlled routes
- [`9c3c04c`](https://github.com/fosrl/olm/commit/9c3c04c728d7bb657c2c280df9243b1be5dab37f) Match domains dns rename
- [`99d249d`](https://github.com/fosrl/olm/commit/99d249db2df062dfca1ebbe68de3c1b964352e8f) add PreferLocalRoutes option
- [`8ef7351`](https://github.com/fosrl/olm/commit/8ef735185feee783e48507f0d6b0a7f081244bc9) Update go mod
### 📊 Changes
**14 files changed** (+880 additions, -72 deletions)
<details>
<summary>View changed files</summary>
📝 `api/api.go` (+32 -3)
📝 `config.go` (+68 -24)
📝 `dns/dns_proxy.go` (+117 -2)
📝 `go.mod` (+1 -1)
📝 `go.sum` (+2 -2)
📝 `main.go` (+2 -0)
📝 `olm/connect.go` (+2 -2)
📝 `olm/olm.go` (+9 -0)
📝 `olm/peer.go` (+65 -0)
📝 `olm/types.go` (+15 -0)
📝 `peers/manager.go` (+125 -11)
📝 `peers/monitor/monitor.go` (+401 -6)
📝 `peers/peer.go` (+19 -11)
📝 `peers/types.go` (+22 -10)
</details>
### 📄 Description
- **Add match domains config**
- **Establish local vpn connections to sites instead of relaying**
- **Dont remove non controlled routes**
- **Add preferLocalRoutes option to prefer local routes over vpn routes**
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/fosrl/olm/pull/130
Author: @oschwartz10612
Created: 7/19/2026
Status: ✅ Merged
Merged: 7/19/2026
Merged by: @oschwartz10612
Base:
main← Head:dev📝 Commits (10+)
9513433Add match domains config7929ce9Test local connections and choose those first0e06fb0Rapid test the local endpoints as wella2f0f64Cancel local send from chainIde1214e2Reflect local status in the api3d88b32Rapid test again when we fail local39aaaafDont remove non controlled routes9c3c04cMatch domains dns rename99d249dadd PreferLocalRoutes option8ef7351Update go mod📊 Changes
14 files changed (+880 additions, -72 deletions)
View changed files
📝
api/api.go(+32 -3)📝
config.go(+68 -24)📝
dns/dns_proxy.go(+117 -2)📝
go.mod(+1 -1)📝
go.sum(+2 -2)📝
main.go(+2 -0)📝
olm/connect.go(+2 -2)📝
olm/olm.go(+9 -0)📝
olm/peer.go(+65 -0)📝
olm/types.go(+15 -0)📝
peers/manager.go(+125 -11)📝
peers/monitor/monitor.go(+401 -6)📝
peers/peer.go(+19 -11)📝
peers/types.go(+22 -10)📄 Description
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.