mirror of
https://codeberg.org/icewind/netnsd.git
synced 2026-06-03 09:04:07 +02:00
add reverse option to module
This commit is contained in:
parent
fbb61b6447
commit
41258f44bd
1 changed files with 5 additions and 0 deletions
|
|
@ -45,6 +45,11 @@ in {
|
||||||
type = types.oneOf [types.port types.str];
|
type = types.oneOf [types.port types.str];
|
||||||
description = "target port or address inside the namespace";
|
description = "target port or address inside the namespace";
|
||||||
};
|
};
|
||||||
|
reverse = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = "forward from inside the namespace to outside instead";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}));
|
}));
|
||||||
description = "ports to forward into the namespace";
|
description = "ports to forward into the namespace";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue