de:server:services:syncthing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
de:server:services:syncthing [2022/09/03 00:16] – removed - external edit (Unknown date) 127.0.0.1de:server:services:syncthing [2023/01/06 18:49] (current) – [Nginx] added ssl and nginx links dan
Line 1: Line 1:
 +====== Syncthing ======
  
 +Dateisynchronisation mit Syncthing.
 +
 +[[https://syncthing.net/|Syncthing]] ist eine in Go geschriebene Open-Source-Anwendung zur Dateisynchronisation, die ihr eigenes, ebenfalls freies Block Exchange Protocol implementiert. Die gesamte Transitkommunikation zwischen den Syncthing-Knoten wird mit TLS verschlüsselt, und alle Knoten werden durch kryptographische Zertifikate eindeutig identifiziert.
 +
 +===== Paket=====
 +
 +<code>
 +pacman -S syncthing
 +</code>
 +
 +
 +===== Start =====
 +
 +Ändere''USER'' zu Hauptbenutzer.
 +
 +<code>
 +systemctl enable --now syncthing@USER.service
 +</code>
 +
 +
 +===== Zugriff auf die GUI mit einem anderen Gerät =====
 +
 +
 +==== Konfig ====
 +
 +Suche nach ''<address>127.0.0.1:8384</address>'' und ändere es wie folgt:
 +
 +<code>
 +nano ~/.config/syncthing/config.xml
 +</code>
 +<code>
 +<address>0.0.0.0:8384</address>
 +</code>
 +
 +
 +==== Nginx ====
 +
 +Siehe auch [[/de/server/services/nginx]] und [[/de/server/services/ssl|ssl]].
 +
 +Ändere ''PORT'' und ''IP''.
 +
 +<code>
 +server {
 +        listen PORT;
 +        server_name IP;
 +
 +location / {
 +    proxy_pass http://localhost:8384;
 +    proxy_set_header X-Real-IP $remote_addr;
 +  }
 +
 +}
 +</code>