diff options
author | Luca Bruno <lethalman88@gmail.com> | 2014-09-04 11:32:40 +0200 |
---|---|---|
committer | Luca Bruno <lethalman88@gmail.com> | 2014-09-04 11:33:08 +0200 |
commit | 2ba523df244d9a3eefec9e2303080f93108254fe (patch) | |
tree | 758d5a35dc17caad4560b5f18b8b13e7d4b4d403 | |
parent | ca931e0e1ecb1feae9816cdcfd89227dea31a943 (diff) | |
download | nixpkgs-2ba523df244d9a3eefec9e2303080f93108254fe.tar nixpkgs-2ba523df244d9a3eefec9e2303080f93108254fe.tar.gz nixpkgs-2ba523df244d9a3eefec9e2303080f93108254fe.tar.bz2 nixpkgs-2ba523df244d9a3eefec9e2303080f93108254fe.tar.lz nixpkgs-2ba523df244d9a3eefec9e2303080f93108254fe.tar.xz nixpkgs-2ba523df244d9a3eefec9e2303080f93108254fe.tar.zst nixpkgs-2ba523df244d9a3eefec9e2303080f93108254fe.zip |
nixos nat: add description to forwardPorts
-rw-r--r-- | nixos/modules/services/networking/nat.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/nat.nix b/nixos/modules/services/networking/nat.nix index 9ddd830a04a..4a4c06503c2 100644 --- a/nixos/modules/services/networking/nat.nix +++ b/nixos/modules/services/networking/nat.nix @@ -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"; }; }; |