Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
conf syncthing Dec 18, 2014
scripts scripts Dec 28, 2015
1.png images Sep 21, 2014
2.png images Sep 21, 2014
3.png images Sep 21, 2014
4.png syncthing Sep 21, 2014
5.png images Sep 21, 2014
7.png syncthing Sep 21, 2014
8.png images Sep 21, 2014
9.png images Sep 21, 2014

Syncthing - Secure & Private

Install syncthing:

Important note: New minor versions of this program are being released often. Please check here for the current version and modify the installation code with the current URL

Bash Script:

Will install a selected version along with a proxypass for Apache or Nginx.

wget -qO ~/install.syncthing && bash ~/install.syncthing

The URL will be in this format:

Manual Installation.

mkdir -p ~/bin && source ~/.{profile,bashrc}
wget -qO ~/syncthing.tar.gz
tar xf ~/syncthing.tar.gz
mv ~/syncthing-linux-amd64-v*/syncthing ~/bin/
cd && rm -rf syncthing{-linux-amd64-v*,.tar.gz}

Configure syncthing:

Now it is ready to run so that we can create the required configuration files.

Do this command in SSH to run it:


Wait until it has fully loaded and created the required files then exit the process pressing and holding CTRL then pressing c. It will look like this:

1: We run the binary 2: We wait until the process has fully loaded and configured itself. 3: we exit the process using CTRL + c

Editing the config.xml

Do this command in SSH:

nano ~/.config/syncthing/config.xml

Your generated configuration file will load and look like this. We need to make a few changes to suit our needs.

<configuration version="11">
    <folder id="default" path="/media/DiskID/username/Sync" ro="false" rescanIntervalS="60" ignorePerms="false" autoNormalize="false">
    <device id="BLYW5FJ-ZCZFS7D-UIIXDIQ-OJQUWA3-LT7TFGK-3GAPZ4S-P5AYI3M-KIKPAQL" name="pallas" compression="metadata" introducer="false">
    <gui enabled="true" tls="false">

Change 1: The WebUi address and port to port between the range of 10001 to 49999:


Make sure the hostname is set to and port is changed. For example:


Change 2: The programs listening port to port between the range of 10001 to 49999 that is NOT the default 22000:


Change it to something else, for example:


Change 3:

Find these settings:


And set them to false:


Then press and hold CTRL and then press x to save. Press y to confirm.

Accessing the Webui:

Now we are ready to relaunch the properly configured syncthing so that we can access and use the WebUi.

in SSH do run this command:


Now the WebUi should load on the port we configured earlier.

Important note: You can use https if you accept the invalid cert

This is what you will see when the syncthing WebUi loads, the first thin we need to do it click on the Options icon in the top right:

Now click on Settings:

Inside the settings you can set a usertname and password for the WebUi. Do this now:

You will need to restart the syncthing server for this to take effect:

Repository settings:

Each repository can be configured via the Edit button:

This is the options window for a repository:

Adding nodes:

Syncthing Downloads

You will need to install and configure other syncthing instances on your local or mobile devices then use the Show ID in the Options to see your node ID.

Once you have this you can add nodes to your server instance to sync files.

Help and further reading: