forked from pub-solar/infra
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;
|
sshUser = username;
|
||||||
};
|
};
|
||||||
metronom = {
|
metronom = {
|
||||||
hostname = "49.13.236.167";
|
hostname = "10.7.6.3";
|
||||||
sshUser = username;
|
sshUser = username;
|
||||||
};
|
};
|
||||||
tankstelle = {
|
tankstelle = {
|
||||||
|
|
|
@ -41,14 +41,14 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
#services.openssh.listenAddresses = [
|
services.openssh.listenAddresses = [
|
||||||
# {
|
{
|
||||||
# addr = "10.7.6.3";
|
addr = "10.7.6.3";
|
||||||
# port = 22;
|
port = 22;
|
||||||
# }
|
}
|
||||||
# {
|
{
|
||||||
# addr = "[fd00:fae:fae:fae:fae:3::]";
|
addr = "[fd00:fae:fae:fae:fae:3::]";
|
||||||
# port = 22;
|
port = 22;
|
||||||
# }
|
}
|
||||||
#];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue