3
0
Fork 0
forked from mirrors/nixpkgs

nixos nat: add description to forwardPorts

This commit is contained in:
Luca Bruno 2014-09-04 11:32:40 +02:00
parent ca931e0e1e
commit 2ba523df24

View file

@ -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";
};
};