Syncthing cheatsheet

Written . Last changed .

Syncthing on a LAN

Allowing Syncthing through the firewall enables sync between devices on a local network (LAN) directly, instead of through Syncthing's relay servers.

Laptop LAN WiFi Cellphone Discovery server
Laptop and Cellphone sync directly over LAN WiFi; the LAN WiFi also reaches the Discovery server.

Linux

Tested on Ubuntu and Raspberry Pi OS

Run these in the terminal

sudo ufw allow syncthing

# Only if the web GUI should be reachable from other devices. Set a GUI password first
sudo ufw allow syncthing-gui

Verify that firewall rules were added

sudo ufw status verbose

Ignore Node Modules

Put this in the folder's .stignore. It matches at any depth:

node_modules