completely disable internet access


(IMTheNachoMan) #1

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.


(Simon) #2

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.


(IMTheNachoMan) #3

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


(Simon) #4

Yes (as implied by local discovery).


#5

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?


(Audrius Butkevicius) #6

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