This commit is contained in:
rasmus-kirk
2025-05-28 09:38:44 +02:00
parent 51d090c71f
commit d75ce74ffa
2 changed files with 9 additions and 7 deletions
+8 -6
View File
@@ -235,7 +235,7 @@ in {
network. You might have to use this option to extend your list network. You might have to use this option to extend your list
with your local IP range by passing it with this option. with your local IP range by passing it with this option.
''; '';
example = [ "192.168.2.0/24" ]; example = ["192.168.2.0/24"];
}; };
vpnTestService = { vpnTestService = {
@@ -308,11 +308,13 @@ in {
port = cfg.vpn.vpnTestService.port; port = cfg.vpn.vpnTestService.port;
protocol = "tcp"; protocol = "tcp";
}; };
accessibleFrom = [ accessibleFrom =
"192.168.1.0/24" [
"192.168.0.0/24" "192.168.1.0/24"
"127.0.0.1" "192.168.0.0/24"
] ++ cfg.vpn.accessibleFrom ; "127.0.0.1"
]
++ cfg.vpn.accessibleFrom;
wireguardConfigFile = cfg.vpn.wgConf; wireguardConfigFile = cfg.vpn.wgConf;
}; };
@@ -82,7 +82,7 @@ in {
RemoveIPC = true; RemoveIPC = true;
PrivateMounts = true; PrivateMounts = true;
ProtectSystem = "strict"; ProtectSystem = "strict";
ReadWritePaths = [ cfg.configDir ]; ReadWritePaths = [cfg.configDir];
}; };
}; };