summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--router.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/router.nix b/router.nix
index 1b2eb51..3cca35e 100644
--- a/router.nix
+++ b/router.nix
@@ -14,7 +14,16 @@ in
enable = true;
externalInterface = wanInterface;
internalInterfaces = [ "br0" ];
- # forwardPorts = [{ sourcePort = 1234; destination = "10.69.0.2:12345"; }];
+ forwardPorts = [
+ {
+ sourcePort = 80;
+ destination = "10.69.0.3:80";
+ }
+ {
+ sourcePort = 443;
+ destination = "10.69.0.3:443";
+ }
+ ];
};
bridges.br0.interfaces = [
lanInterface