From 2ba523df244d9a3eefec9e2303080f93108254fe Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Thu, 4 Sep 2014 11:32:40 +0200 Subject: nixos nat: add description to forwardPorts --- nixos/modules/services/networking/nat.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nixos') 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"; }; }; -- cgit 1.4.1