Syncthing: Difference between revisions
m Added label field in example for folder field |
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"> | ||
# 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 = [ | networking.firewall.allowedTCPPorts = [ 22000 ]; | ||
networking.firewall.allowedUDPPorts = [ 22000 21027 ]; | networking.firewall.allowedUDPPorts = [ 22000 21027 ]; | ||
</syntaxHighlight> | </syntaxHighlight> | ||