diff options
| author | Mathias Magnusson <mathias@magnusson.space> | 2025-10-19 19:50:05 +0200 |
|---|---|---|
| committer | Mathias Magnusson <mathias@magnusson.space> | 2025-10-19 19:50:05 +0200 |
| commit | 096cd329953a8da81239bab1ab1a58dec01ab8bc (patch) | |
| tree | f65eb85653e12c380ce9e28a2a7372be1e712490 | |
| parent | 671e66917b09c56ca9e717b300b874ed71b189ae (diff) | |
| download | oden-096cd329953a8da81239bab1ab1a58dec01ab8bc.tar.gz | |
forward http{s,} to mimer
| -rw-r--r-- | router.nix | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 |
