https://www.jianshu.com/p/d31f16cfb285
apt install syncthing
1.###执行
syncthing
2.结果如下,出现 INFO: Detected 0 NAT services 代表启动成功!
3.vi /home/syncthing/.config/syncthing/config.xml
找到以下位置,将 127.0.0.1:8384 改位 0.0.0.0:8384
cp /usr/lib/systemd/user/syncthing.service /etc/systemd/system/
vi /etc/systemd/system/syncthing.service
详细配置见链接:
https://docs.syncthing.net/users/autostart.html