nixos nat: add description to forwardPorts
This commit is contained in:
parent
ca931e0e1e
commit
2ba523df24
@ -82,10 +82,14 @@ in
|
|||||||
options = {
|
options = {
|
||||||
sourcePort = mkOption {
|
sourcePort = mkOption {
|
||||||
type = types.int;
|
type = types.int;
|
||||||
|
example = 8080;
|
||||||
|
description = "Source port of the external interface";
|
||||||
};
|
};
|
||||||
|
|
||||||
destination = mkOption {
|
destination = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
|
example = "10.0.0.1:80";
|
||||||
|
description = "Forward tcp connection to destination ip:port";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user