Fix cfg
This commit is contained in:
1 parent
a7ce1dc7ea
commit
32c83bca98
2 files changed
+28
-17
No files matched your search
@@ -53,24 +53,24 @@ let
|
||||
};
|
||||
forward = {
|
||||
inInterface = mkOption {
|
||||
type = types.str;
|
||||
default = "ens3";
|
||||
description = "Incoming interface for forwarding";
|
||||
type = types.str;
|
||||
default = "ens3";
|
||||
description = "Incoming interface for forwarding";
|
||||
};
|
||||
|
||||
toAddr = mkOption {
|
||||
type = types.str;
|
||||
description = "Destination address (IPv4 or IPv6)";
|
||||
example = "10.10.1.2";
|
||||
};
|
||||
|
||||
ports = mkOption {
|
||||
type = types.listOf (types.listOf types.port);
|
||||
default = [];
|
||||
description = "Port mappings: [ [srcPort dstPort] ... ]";
|
||||
example = [ [ 22 22 ] [ 80 80 ] [ 443 443 ] ];
|
||||
};
|
||||
};
|
||||
|
||||
toAddr = mkOption {
|
||||
type = types.str;
|
||||
description = "Destination address (IPv4 or IPv6)";
|
||||
example = "10.10.1.2";
|
||||
};
|
||||
|
||||
ports = mkOption {
|
||||
type = types.listOf (types.listOf types.port);
|
||||
default = [];
|
||||
description = "Port mappings: [ [srcPort dstPort] ... ]";
|
||||
example = [ [ 22 22 ] [ 80 80 ] [ 443 443 ] ];
|
||||
};
|
||||
}
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user