fix: hardening

This commit is contained in:
FUFSoB committed 2026-10-05 22:44:09 +05:00
1 parent 017a947a18
commit a435942b4f
168 files changed
+9166 -1644

No files matched your search

+3 -2
View File
@@ -2,6 +2,7 @@
let
inherit (lib) mkEnableOption mkOption types;
inherit (import ./lib.nix { inherit lib; }) addressOrCidrType interfaceType;
in
{
options.services.proxy-suite.proxy.tproxy = {
@@ -32,7 +33,7 @@ in
};
localSubnets = mkOption {
type = types.listOf types.str;
type = types.listOf addressOrCidrType;
default = [ "192.168.0.0/16" ];
description = "Subnets that skip the proxy, such as your LAN and VM bridges (DNS still goes through it). IPv6 works too.";
example = [
@@ -43,7 +44,7 @@ in
};
lanInterfaces = mkOption {
type = types.listOf types.str;
type = types.listOf interfaceType;
default = [ ];
description = ''
LAN interfaces whose devices use this host as their gateway. Their TCP and UDP goes through the