summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nixos/modules/services/networking/nat.nix4
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";
         };
       };