metronom: use wireguard IP for SSH, lock down SSH
port access to wireguard only
This commit is contained in:
parent
0a78d2ef20
commit
b44ad8b552
|
@ -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