metronom: use wireguard IP for SSH, lock down SSH
Some checks failed
Flake checks / Check (pull_request) Failing after 2m36s

port access to wireguard only
This commit is contained in:
teutat3s 2024-05-29 10:30:33 +02:00
parent b132dd525e
commit 4763bb96ce
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 11 additions and 11 deletions

View file

@ -126,7 +126,7 @@
sshUser = username;
};
metronom = {
hostname = "49.13.236.167";
hostname = "10.7.6.3";
sshUser = username;
};
};

View file

@ -41,14 +41,14 @@
};
};
#services.openssh.listenAddresses = [
# {
# addr = "10.7.6.3";
# port = 22;
# }
# {
# addr = "[fd00:fae:fae:fae:fae:3::]";
# port = 22;
# }
#];
services.openssh.listenAddresses = [
{
addr = "10.7.6.3";
port = 22;
}
{
addr = "[fd00:fae:fae:fae:fae:3::]";
port = 22;
}
];
}