Testers Needed: Multi-Site Support #954
Replies: 15 comments 13 replies
|
I only have one site, so..... Unless if you have a scenario where I still can help, not sure how I can... I Could spin up a second controller in a VM and put it on a different subnet, if that helps? |
|
I'm interested. I'd actually sent you an email a couple of weeks ago inquiring as to licensing and this was one of the features requested. I have a lot of sites I'd like to monitor. |
|
Removing a test site There's no delete-site button yet, so if you're cycling test sites up and down, here's the quick manual cleanup. Use the Site ID shown in the app. First, list your sites to grab the Site ID (the sqlite3 -header -column <data>/network_optimizer.db "SELECT Slug, Name, IsDefault FROM Sites ORDER BY SortOrder;"Then delete that site's registry row: sqlite3 <data>/network_optimizer.db "DELETE FROM Sites WHERE Slug='your-site-id' AND IsDefault=0;"Finally, restart Network Optimizer so it drops the site from memory. That's all you need. Everything below is totally optional cleanup of leftover data that's otherwise just orphaned and ignored:
|
|
Please reach out for a trial license key if you want to test on more than 3 sites. Just dropped licensing support in beta.8 |
|
If anybody wants to try out the on-gateway agent capabilities, with even speed testing being available on UDM-Beast, EFG, and EF-Core gateways, let me know. I'm testing it out right now on a UCG-Fiber and the standard dotnet self-contained agent binary is working great with only 3% added CPU burden and only ~50 MB extra RAM usage. I should have it ready w/ a beta release probably next week. And, also, if anybody has Raspberry-Pi-grade hardware that wants to try out the agent on, please let me know and I can give you a trial license for > 3 sites if you need it. |
|
On-gateway agent on UDR7 also validated, plenty of headroom so long as the lower-class gateways aren't also running Protect. And even if they are, there's just enough with Ubiquiti's recent optimization of Suricata (in EA). CPU usage goes up single-digits on both the UCG-Fiber and UDR7 from my testing. Sites that want local speed testing (very useful of course) need a full agent still since I don't want to open that can-o-worms yet of hosting that on-gateway (but will be working on it for UDM-Beast, EFG, EF-Core, UXG-Enterprise class gateways as they can totally host iperf3 and the nginx-based web speed test server). WAN speed testing via the gateway still works great w/ the Go binary alongside the Agent. |
|
I'm unable to get any of the gateway agents to "tunnel home". They show as "online" in the multi-site manager but once I go to "Connect" they say the agents are waiting to connect. I've deleted/reinstalled the agents many times and they can definitely see the host Network Monitor server and it can technically see them. Just missing a functional link. Network Monitor running in Debian 13 VPS with FQDN, so far a CGF and a UDM-Pro for agents. |
|
I’ve been trying to get this to work and have been unsuccessful at getting the agent to connect. I’ve tried setting up both an agent remotely and on the same LAN without success. looking through the logs on the server side, it says listening on 8042, but I don’t see any mention of it listening on 443? I am using macvlan networking in my docker setup on my server, so perhaps that is part of the problem? |
|
I was able to connect to the remote gateway (I ran the agent on the gateway), the console connected, but the agent never would. it just said waiting for agent. I got wifi metrics, but ssh, etc wouldn’t work. |
|
yes. i’m using a ddns domain that points to my IP. i have 443 port forwarding turned on. this is also why i tested it on my local network to make sure it wasn’t a firewall issue and I can’t connect that way either. I also tried just using the IP address, but no luck. the agent log shows that it fails on the 443 connection. |
|
no, i’m not sure. i have AT&T fiber, they’ve never blocked anything else. |
|
AT&T fiber doesn't tend to block HTTPS. I have sites I manage that self host stuff with no issues.When you say you can't connect with a local IP locally what do you mean exactly?Is this an additional site you're setting up to monitor or the main site with a separate agent. I'll be honest the latter case I still haven't tested but will be sorting that out soon. Additional sites connect in seconds when the HTTP connectivity is available.What does your port mapping set up look like, does it have pre existing IP list restrictions to Cloudflare or anything like that?You can totally push this through Cloudflare Tunnel if you need to. I have it all set up to be fine with that infrastructure.On Aug 2, 2026, at 6:19 AM, noumenon272 ***@***.***> wrote:
no, i’m not sure. i have AT&T fiber, they’ve never blocked anything else.
all that being said, I can’t connect over my local network with a local IP either.
—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
|
I have a NUC that I am planning to deploy at one of my remote locations. I put the agent on it, just to see if I could get it to connect over my LAN. I do not currently have it associated with a gateway. This is from the agent logs: this is the startup from the server side: this is from my docker compose file: |
|
Hey @noumenon272 I had a chance to read over everything again at my keys now that I got this release knocked out. Couple things, so NO Server doesn't bind or serve TLS/HTTPS by default for its web/API connection, and it's not meant to. I defer to a reverse proxy like Caddy, Traefik, Nginx+Certbot to handle that TLS termination and certification management for people, usually assuming they may want to work that into existing infrastructure or stand it up for the first time as an umbrella for stuff they want to self host. The TLS connection is just a security thing, and I've not given a way to override it, and that's by design. If you were to try to get the agent to connect to NO Server on 8042 / non HTTPS, it would fail and reject the connection. The requirement is because not everybody will have it riding over site-to-site VPN, and some deployments will selectively expose the NO Server gRPC and public API endpoints via public Internet. So HTTP would be a no-go. The gRPC endpoint does, however, bind to TLS and it uses a self-signed cert, but if you dig through the agent deployment docs, it covers that that's just so that the path between the reverse proxy and NO Server remain end-to-end encrypted as sensitive site traffic and a direct tunnel to the site's gateway and other UniFi devices runs over that tunnel. Anyway, background aside, if you want to go with Traefik as your TLS termination/reverse proxy/certificate management server, here's a good starter for it, and it even contains config blocks you can include for the Multi-Site features: https://github.com/Ozark-Connect/NetworkOptimizer-Proxy If you need anything directly, please DM me on Discord at @tjvc42, happy to help out. |
|
thanks for your help. your documentation is excellent. I finally got it working. it took me a while to figure out that cloudflare blocks gRPC by default. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm going to have Multi-Site support ready for testing very soon. Please reply to this thread if you're interested in testing it on your personal sites or want to trial it for your MSP.
I'll follow up with details on the infrastructure needed, but basically there's an agent service that gets deployed per-site on an arm64/amd64 box of your choice that also serves as an optional proxy to local UniFi Network Console access and Device SSH, along with proxying ONT / CM / cellular modem monitoring traffic, so you do not need central VPN tunneling to your sites from the Network Optimizer Server.
The per-site agent of course enables Network performance monitoring LAN and WAN via SNMP and the configurable latency / loss targets, along with the ISP Health and all other Monitoring features. It also serves as a local speed test server and initiator for that site.
To test refer to the latest v2.0.0-beta release notes: https://github.com/Ozark-Connect/NetworkOptimizer/releases/
Send me an email for a trial license if you want to test on more than 3 sites. tj@ozarkconnect.net
All reactions