metronom, tankstelle: cleanup for SSH only via wireguard
This commit is contained in:
parent
ba76973cc5
commit
e127c668f6
|
@ -16,7 +16,4 @@
|
|||
networking.enableIPv6 = true;
|
||||
networking.useDHCP = false;
|
||||
networking.interfaces."enp1s0".useDHCP = true;
|
||||
|
||||
# TODO: ssh via wireguard only
|
||||
services.openssh.openFirewall = true;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,4 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
|
||||
# TODO: ssh via wireguard only
|
||||
services.openssh.openFirewall = true;
|
||||
}
|
||||
|
|
|
@ -41,14 +41,14 @@
|
|||
};
|
||||
};
|
||||
|
||||
#services.openssh.listenAddresses = [
|
||||
# {
|
||||
# addr = "10.7.6.4";
|
||||
# port = 22;
|
||||
# }
|
||||
# {
|
||||
# addr = "[fd00:fae:fae:fae:fae:4::]";
|
||||
# port = 22;
|
||||
# }
|
||||
#];
|
||||
services.openssh.listenAddresses = [
|
||||
{
|
||||
addr = "10.7.6.4";
|
||||
port = 22;
|
||||
}
|
||||
{
|
||||
addr = "[fd00:fae:fae:fae:fae:4::]";
|
||||
port = 22;
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue