3/28/2023 0 Comments Install syncthing ubuntu![]() Then, both sides must also add a repository (directory) to synchronize. In order to share content, Syncthing requires both ends of the connection to add the other server to their list of nodes. Connecting the Two Servers and Sharing Directories Your interface is now more secure from outside traffic.Ĭomplete these steps on both servers. You will then get an authentication prompt for the username and password that you configured:įill out the appropriate values and log in. It is safe to click on "Proceed anyway" to continue. This is expected since the certificates are self-signed. This is just letting you know that the entity that signed the SSL certificate is not in your browser's list of trusted certificate authorities. When you do so, you will most likely encounter an SSL warning that looks like this: You will probably need to refresh the page for the changes to reload properly. You will see a message that prompts you to restart the service for the changes to take affect: When you are finished, click the "Save" button at the bottom. We also want to enable TLS encryption for our sessions so that our traffic cannot be intercepted in transit by checking the "HTTPS" box: ![]() On the right side, we need to set up a username and password for the web interface. ![]() Go to the "Edit" menu in the upper right-hand corner and click on the "Settings" selection: The first thing that we need to do is add some security to our interface. Log into each of your servers' Syncthing interfaces by visiting their public IP addresses and port 8080: You will see the main Syncthing screen: We are finally ready to configure our instances through the web user interface. We will do more extensive configuration later on through the web interface. Save and close the file when you are finished. This section will look like this when you are finished: The only change that we need to make is to replace the localhost address ( 127.0.0.1) with 0.0.0.0, which represents all network interfaces. Look for a section that deals with the GUI. Open the file in your text editor: nano ~/.config/syncthing/config.xml We can now edit the configuration file that was created. You can add other Syncthing devices and share folders with them. Now in your Web browser’s address bar, type 127.0.0.1:8384 to access the Syncthing Web interface. We can see that Syncthing auto start is enabled and it’s running. └─5586 /usr/bin/syncthing -no-browser -no-restart -logflags=0 Loaded: loaded (/lib/systemd/system/ enabled vendor preset: enabled)Īctive: active (running) since 六 17:16:20 CST 31s agoĬGroup: /system.slice/system-syncthing.slice/
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |