feat: add Syncthing ports configuration

Added TCP and UDP ports for Syncthing to the firewall configuration. Configured Syncthing GUI to listen on all addresses at port 8384.
This commit is contained in:
Harald Hoyer 2024-08-03 15:58:30 +02:00
parent 7b7cebb658
commit cd69324e48
2 changed files with 3 additions and 1 deletions

View file

@ -79,6 +79,7 @@
user = "harald"; user = "harald";
dataDir = "/mnt/raid/Qmultimedia/syncthing"; # Default folder for new synced folders dataDir = "/mnt/raid/Qmultimedia/syncthing"; # Default folder for new synced folders
configDir = "/mnt/raid/Qmultimedia/syncthing/.config/syncthing"; # Folder for Syncthing's settings and keys configDir = "/mnt/raid/Qmultimedia/syncthing/.config/syncthing"; # Folder for Syncthing's settings and keys
guiAddress = "0.0.0.0:8384";
}; };
}; };
} }

View file

@ -37,6 +37,7 @@
}; };
}; };
networking.firewall.allowedTCPPorts = [ config.services.netatalk.port ]; networking.firewall.allowedTCPPorts = [ 8384 22000 config.services.netatalk.port ];
networking.firewall.allowedUDPPorts = [ 22000 21027 ];
networking.firewall.allowPing = true; networking.firewall.allowPing = true;
} }