Syncthing: continuous file synchronization program.
As described on Syncthing website:
Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers. We strive to fulfill the goals below. The goals are listed in order of importance, the most important one being the first. This is the summary version of the goal list - for more commentary, see the full Goals document.
Syncthing should be:
Safe From Data Loss
Protecting the user's data is paramount. We take every reasonable precaution to avoid corrupting the user's files.
Secure Against Attackers
Again, protecting the user's data is paramount. Regardless of our other goals we must never allow the user's data to be susceptible to eavesdropping or modification by unauthorized parties.
Easy to Use
Syncthing should be approachable, understandable and inclusive.
Automatic
User interaction should be required only when absolutely necessary.
Universally Available
Syncthing should run on every common computer. We are mindful that the latest technology is not always available to any given individual.
For Individuals
Syncthing is primarily about empowering the individual user with safe, secure and easy to use file synchronization.
Everything Else
There are many things we care about that don't make it on to the list. It is fine to optimize for these values, as long as they are not in conflict with the stated goals above.
pkg inst syncthing
echo 'syncthing_enable = "YES"' >> /etc/rc.conf
/usr/local/etc/rc.d/syncthing start
See below how to access the Web UI.
Important! The service requires the following ports to be opened and NATed on all hosts:
tcp_services = "{ssh, 22000, 8384}"
udp_services = "{21027}"
Remove default folder
Create a folder having the same ID on two hosts
Add the other host on each one through its ID.
Share the folder and restart service.
Please see the Syncthing documentation site.
All code is licensed under the MPLv2 License.
Ce document a été publié le 2019-01-07 21:54:54. (Dernière mise à jour : 2019-07-20 17:33:12.)