completely disable internet access

After reading https://docs.syncthing.net/users/stdiscosrv.html and https://docs.syncthing.net/users/strelaysrv.html it looks like Syncthing needs/uses internet access. Is it possible to completely disable internet and still have it work on my LAN?

I have multiple devices on my LAN that I want to keep in sync. So I want Syncthing to work on the LAN but not rely on, or need, internet access.

Is this possible? I looked through the docs but couldn’t understand how to do this.

1 Like

If you disable global discovery, relaying and usage reporting, and have no devices outside of your LAN, it won’t access the internet. There is nothing prohibiting it though, it just doesn’t need to. Completely disallowing internet should probably be done through your firewall.

1 Like

So I’ll still be able to share between devices on the LAN if I disable those settings?

Yes (as implied by local discovery).

I might have missed something (I hope I have), but is it possible to apply this setting on a per-repo or per-device basis?

No, syncthing uses a single connection for all folders. I think devices have allowed networks mask that can prevent them from connecting.

How do you disable the discovery etc on Android? (The syncthing app doesnt even load without internet access)

@Phaedrus

On your Android phone:

  1. Start Syncthing
  2. Tap the menu upper left corner, 4 horizontal lines.
  3. Tap Web GUI
  4. Tap The gear icon in the upper right corner.
  5. Tap “Settings”
  6. Tap “Connections”
  7. Uncheck everything but local discovery.
  8. Save.
  9. Restart the app.

Leo.

1 Like

Thank you. Got it working!

1 Like