Merge pull request 'syncthing: restrict access of peers to vpn' (#626) from a-kenji-restrict-introducer into main
All checks were successful
assets1 / test (push) Successful in 19s
checks-impure / test (push) Successful in 1m6s
checks / test (push) Successful in 1m37s

This commit is contained in:
clan-bot 2023-12-08 12:56:35 +00:00
commit 9bc75943e3

View File

@ -45,7 +45,6 @@
8384
22000
];
# local ui TODO: mkDefault ?
networking.firewall.allowedTCPPorts = [ 8384 ];
networking.firewall.interfaces."zt+".allowedUDPPorts = [
22000
@ -72,6 +71,8 @@
dataDir = lib.mkDefault "/home/user/";
group = "syncthing";
key =
lib.mkDefault
config.clanCore.secrets.syncthing.secrets."syncthing.key".path or null;
@ -82,8 +83,7 @@
settings = {
options = {
urAccepted = -1;
# TODO:
# allowedNetworks = [];
allowedNetworks = [ config.clan.networking.zerotier.subnet ];
};
devices =
{ }