feat: auto forward ports and open firewall
This commit is contained in:
parent
b166c58127
commit
44d2263bdf
4 changed files with 20 additions and 13 deletions
|
|
@ -23,16 +23,7 @@ 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;
|
||||
}];
|
||||
forwards = [];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue