Trusted networks
Trusted networks let traffic from a list of CIDRs reach your apps without the WireGuard tunnel and without the per-app ACL. Useful for server-to-server calls and IoT devices that can’t run WireGuard.
The list lives in proxy.trusted_networks in config.yaml. It’s empty by default — no networks are trusted until you opt in. Add the smallest CIDR that covers the devices you actually want to bypass the tunnel for.
When to use it
Section titled “When to use it”- A Home Assistant box on a Pi calling Jellyfin on the main server.
- One self-hosted container making API calls to another on the same LAN.
- Smart-home gear (cameras, sensors) that can’t speak WireGuard.
- A laptop on your home Wi-Fi that you’d like to use without tapping Connect every time.
If a member can run the atreoLINK app, prefer the tunnel. Trusted networks are for the cases where the tunnel isn’t an option.
-
Edit
config.yamland pick the smallest CIDR that covers what you need:proxy:trusted_networks:- "192.168.1.0/24" -
Restart the agent:
Terminal window docker compose restart atreoagent -
Override DNS on your LAN. Without this,
<app>.<yourname>.atreo.linkresolves to the WireGuard tunnel target (100.64.0.1, orfd00:64::1over IPv6), which is only reachable inside the tunnel. You need traffic to actually arrive at the agent’s LAN IP. Two common ways:-
/etc/hostson the LAN client:192.168.1.10 jellyfin.alice.atreo.link192.168.1.10 immich.alice.atreo.link -
A wildcard DNS entry on your local resolver (Pi-hole, AdGuard Home, your router, BIND):
*.alice.atreo.link → 192.168.1.10
-
-
Verify. From a LAN client,
curl https://jellyfin.alice.atreo.linkshould reach the app without you opening atreoLINK on a phone.
How it works
Section titled “How it works”The agent looks at the RemoteAddr on every incoming request. If it falls inside a trusted CIDR, the per-app ACL check is skipped and the request proxies straight through to the app.
The TLS certificate served on the LAN is the same wildcard cert atreoAGENT uses for tunnel traffic.
Custom domains
Section titled “Custom domains”Trusted networks work the same way for custom domains. Override DNS for *.your-custom-domain.com on your LAN to point at the agent’s LAN IP, and traffic from the trusted CIDR is allowed in without ACL checks.
Removing a trusted network
Section titled “Removing a trusted network”Edit config.yaml, drop the CIDR, restart. Existing connections aren’t torn down, but new requests from the removed CIDR fall back to ACL enforcement (and will be rejected because they don’t have a tunnel session).
© 2026 atreoLABS. All rights reserved.
WireGuard is a registered trademark of Jason A. Donenfeld.

