导航

Syncthing Setting

Syncthing.jpg

官网
https://syncthing.net

下载
Windows - Linux

VPS

安装

apt-get install apt-transport-https nano
curl -s https://syncthing.net/release-key.txt | apt-key add -
echo "deb https://apt.syncthing.net/ syncthing stable" | tee /etc/apt/sources.list.d/syncthing.list
apt-get update
apt-get install syncthing

运行

syncthing 
Ctrl+C
# 运行再停止,生成配置

外网

nano ~/.config/syncthing/config.xml
<address>127.0.0.1:8384</address> → <address>0.0.0.0:8384</address>

iptables

nano /etc/iptables.up.rules
-A INPUT -p tcp -m state --state NEW -m tcp --dport 8384 -j ACCEPT
iptables-restore < /etc/iptables.up.rules

再运行

syncthing

安全

  • 建议使用低等级权限运行
Syncthing should not run as a privileged or system user. Please consider using a normal user account.
  • 设置GUI

设置 GUI 用户名及密码

访问
https://xx.xx.xx.xx:8384


2017-06-17
选择表情