metronom: use wireguard IP for SSH, lock down SSH
port access to wireguard only
This commit is contained in:
parent
9a9dccf5bb
commit
0038be3d2c
|
@ -127,7 +127,7 @@
|
|||
sshUser = username;
|
||||
};
|
||||
metronom = {
|
||||
hostname = "49.13.236.167";
|
||||
hostname = "10.7.6.3";
|
||||
sshUser = username;
|
||||
};
|
||||
tankstelle = {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue