feat: add dynamic pÃort forwarding definitions
This commit is contained in:
parent
d00f120d9d
commit
5855d2384d
2 changed files with 14 additions and 5 deletions
|
|
@ -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;
|
||||
}];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue