summaryrefslogtreecommitdiff
path: root/router.nix
diff options
context:
space:
mode:
authorMathias Magnusson <mathias@magnusson.space>2025-10-19 19:50:05 +0200
committerMathias Magnusson <mathias@magnusson.space>2025-10-19 19:50:05 +0200
commit096cd329953a8da81239bab1ab1a58dec01ab8bc (patch)
treef65eb85653e12c380ce9e28a2a7372be1e712490 /router.nix
parent671e66917b09c56ca9e717b300b874ed71b189ae (diff)
downloadoden-096cd329953a8da81239bab1ab1a58dec01ab8bc.tar.gz
forward http{s,} to mimer
Diffstat (limited to 'router.nix')
-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