nixos nat: add description to forwardPorts
This commit is contained in:
parent
ca931e0e1e
commit
2ba523df24
1 changed files with 4 additions and 0 deletions
|
@ -82,10 +82,14 @@ in
|
|||
options = {
|
||||
sourcePort = mkOption {
|
||||
type = types.int;
|
||||
example = 8080;
|
||||
description = "Source port of the external interface";
|
||||
};
|
||||
|
||||
destination = mkOption {
|
||||
type = types.str;
|
||||
example = "10.0.0.1:80";
|
||||
description = "Forward tcp connection to destination ip:port";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue