How to install Syncthing on a Debian server and configure it
1 min readDec 31, 2019
Hello!
$ curl -s https://syncthing.net/release-key.txt | sudo apt-key add -
$ echo "deb https://apt.syncthing.net/ syncthing stable" | sudo tee --append /etc/apt/sources.list
$ sudo apt update
$ sudo apt install syncthing
Then run it to generate a default configuration:
$ syncthing
To make possible to access to Syncthing from outside, change this line in .config/syncthing/config.xml
:
<address>127.0.0.1:8384</address>
to:
<address>0.0.0.0:8384</address>
Note: I recommend to change the port also!
Run again Syncthing:
$ syncthing
Open Syncthing in your browser:
https://<your server IP>:8384
Warning: Make sure that you connect with HTTPS!
You can ignore your browser’s HTTPS warning.
Now, IMMEDIATELY set a password for Syncthing in Settings — >GUI. Also check “Use HTTPS for GUI”.