Syncthing: Difference between revisions
Configuration can be partly in Nix and the rest in the GUI |
add firewall configuration to example Tags: Mobile edit Mobile web edit |
||
| Line 53: | Line 53: | ||
}; | }; | ||
}; | }; | ||
# syncthing uses port 22000 to facilitate discovery of nodes on the local area network | |||
# if this port is blocked by the firewall, nodes will have to go all the way to the announce servers, then use a bridge to tunnel through NAT. | |||
# this is much slower than just sending data in a "node1 -> router -> node2" path | |||
networking.firewall.allowedTCPPorts = [ 22000 ]; | |||
</syntaxHighlight> | </syntaxHighlight> | ||