feat: add dynamic pÃort forwarding definitions

This commit is contained in:
Katharina Heidenreich 2026-03-14 14:22:25 +01:00
parent d00f120d9d
commit 5855d2384d
2 changed files with 14 additions and 5 deletions

View file

@ -23,6 +23,16 @@ rec {
autossh = {
key_path = "/etc/auto-ssh_secrets/key";
known_hosts = "/etc/auto-ssh_secrets/known_hosts";
forwards = [{
remote = 80;
localAddress = "localhost";
localPort = 80;
}
{
remote = 443;
localAddress = "localhost";
localPort = 443;
}];
};
}