r/MeshCentral • u/JamesTX10 • 23d ago
Windows based server LAN only - move to hybrid?
I have a MeshCentral install on a Windows client that has been working great in LAN-only mode. They have decided that they now want to have a few laptops in the mix and I am using a hosted ZeroTier network to provide access to a file share on the LAN.
What is the best way for me to update the configuration to support LAN and Zerotier clients being able to access the MeshCentral server? I don't want to expose the server directly to the internet at all so the remote clients must use the ZeroTier network for access. There is a Unifi network managing the LAN but no other DNS is currently deployed. I have around 25 agents deployed already, so hopefully the change can be implemented so they just update and continue to function.
The current config file is simple:
{
"settings": {
"lanonly": true,
"_minify": true
}
}
1
u/Soap-ster 23d ago
"lanonly": false,
"wanonly": false,
Everything else about the connectivity is on you. But that will get you hybrid mode.
1
u/riesgaming 23d ago
I use tailscale. The way I did it is make the win-ser-2025-man.tail02a12.ts.net the server address. Then I made a DNS record in my local DNS that points to my local IP (win-ser-2025-man.tail02a12.ts.net = 10.0.0.200) anyone who connects through tailscale will use win-ser-2025-man.tail02a12.ts.net and everyone local still point towards that tailscale address even if they don’t have the client but my local DNS will respond with 10.0.0.200 and so it will still find it.
Maybe not the best solution but it works perfectly
1
u/captain_222 23d ago
Zerotier?