Syncthing: Difference between revisions

m Added label field in example for folder field
MTL (talk | contribs)
m Remove guidance to expose the admin port outside the firewall. This is insecure, as that's a sensitive interface.
Tags: Mobile edit Mobile web edit
Line 73: Line 73:
You will probably have to open a few ports in the firewall:
You will probably have to open a few ports in the firewall:
<syntaxHighlight lang="nix">
<syntaxHighlight lang="nix">
  # Syncthing ports: 8384 for remote access to GUI
   # 22000 TCP and/or UDP for sync traffic
   # 22000 TCP and/or UDP for sync traffic
   # 21027/UDP for discovery
   # 21027/UDP for discovery
   # source: https://docs.syncthing.net/users/firewall.html
   # source: https://docs.syncthing.net/users/firewall.html
   networking.firewall.allowedTCPPorts = [ 8384 22000 ];
   networking.firewall.allowedTCPPorts = [ 22000 ];
   networking.firewall.allowedUDPPorts = [ 22000 21027 ];
   networking.firewall.allowedUDPPorts = [ 22000 21027 ];
</syntaxHighlight>
</syntaxHighlight>