# Purely local setup

**URL:** https://forum.syncthing.net/t/purely-local-setup/20992
**Category:** Support
**Created:** [October 27, 2023, 12:11pm UTC](https://forum.syncthing.net/t/purely-local-setup/20992 "2023-10-27T12:11:09Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![la-marc](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/l/47e85d/32.png) [@la-marc](https://forum.syncthing.net/u/la-marc)
#### Post date: [October 27, 2023, 12:11pm UTC](https://forum.syncthing.net/t/purely-local-setup/20992/1 "2023-10-27T12:11:10Z")

</div>

Hi,

I would like to use SyncThing to sync files over my home network. I don’t want any connections to the open Internet being made. I have a PC, laptop and an Android phone to sync. Android phone could be designed as some sort of a central node if this makes things any easier.

I can setup ssh connections to the Android phone from other devices using Termux, if this helps.

What is the best way to achieve this? Is there any way I can “harden” this setup? E.g. avoid automatic syncing when connected to a less trusted network?

---

<div class="post-metadata">

### Author: ![er-pa](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/e/90db22/32.png) [@er-pa](https://forum.syncthing.net/u/er-pa)
#### Post date: [October 27, 2023, 3:05pm UTC](https://forum.syncthing.net/t/purely-local-setup/20992/2 "2023-10-27T15:05:17Z")

</div>

There are some posts spread on the forum which can help you to get started and/or understand some settings which may be useful for you. In the base, Syncthing can and does use local connections where/when possible. So if you disable the WAN-related settings it should get you already to a solid point for your use-case. Also please note that Android + discovery is a difficult subject though, there are quite some topics on the forum about that which are probably worth looking into as well.

[Limit Syncthing to only use local network: Review and suggestions appreciated](https://forum.syncthing.net/t/limit-syncthing-to-only-use-local-network-review-and-suggestions-appreciated/20117) (a bit of a summary of options that have to do with global/local connections, you may want to read through the entire thread to see what’s of use and what isn’t)

[How do I stop it from blabbing to the world? - #4 by Nummer378](https://forum.syncthing.net/t/how-do-i-stop-it-from-blabbing-to-the-world/19914/4) (it’s advised to not scroll through the entire thread here as it was otherwise a bit toxic, but this comment had good input).

I think for your case disabling `relay` and `global discovery` will prob do quite a lot already. Then also set `allowedNetworks` [allowedNetworks — Syncthing documentation](https://docs.syncthing.net/advanced/device-allowednetworks.html#allowednetworks) to just your LAN’s network address. From that point on it’s more or less checking what settings can help in making it more silent to the outside world.

And as a side-note; it’s now also an issue on the docs-repo; [Tuning article for avoiding any Internet/non-local chatter · Issue #834 · syncthing/docs · GitHub](https://github.com/syncthing/docs/issues/834)

---

<div class="post-metadata">

### Author: ![la-marc](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/l/47e85d/32.png) [@la-marc](https://forum.syncthing.net/u/la-marc)
#### Post date: [October 29, 2023, 11:13am UTC](https://forum.syncthing.net/t/purely-local-setup/20992/3 "2023-10-29T11:13:04Z")

</div>

Thanks a lot for the tips and links, I’ll look into that!

---

<div class="post-metadata">

### Author: ![Wank](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/w/f08c70/32.png) [@Wank](https://forum.syncthing.net/u/Wank)
#### Post date: [October 29, 2023, 11:20pm UTC](https://forum.syncthing.net/t/purely-local-setup/20992/4 "2023-10-29T23:20:47Z")

</div>

> [@la-marc](#):
>
> I would like to use SyncThing to sync files over my home network. I don’t want any connections to the open Internet being made. I have a PC, laptop and an Android phone to sync.

Syncthing should work perfectly for your needs. Just follow the docs/tips and traffic will be local to your LAN.

I have exactly what you do. No relay servers, or global discovery.

You won’t need Termux or SSH on your cell.

On android I don’t leave the software running 24 seven. I run the app when at home and have a PC or laptop powered on with Syncthing running and then I run the app on the cell phone let it synchronize what needs to then exit.

Because my laptop can travel with me I don’t leave Syncthing running 24 seven on there either. I don’t synchronize a lot of data.

---

<div class="post-metadata">

### Author: ![system](https://forum-uploads.syncthingcdn.net/original/2X/0/0b50e0a202b22ae6a67190759e8c868805b8ed9f.png) [@system](https://forum.syncthing.net/u/system)
#### Post date: [November 28, 2023, 11:21pm UTC](https://forum.syncthing.net/t/purely-local-setup/20992/5 "2023-11-28T23:21:18Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
