Fix cfg
This commit is contained in:
@@ -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