ssh over tailscale

This commit is contained in:
Tristan 2024-02-17 01:39:21 +00:00
parent bcce14ea82
commit 086b3a67d9
3 changed files with 23 additions and 11 deletions

View file

@ -25,7 +25,16 @@ in {
boot.loader.efi.canTouchEfiVariables = true;
networking.networkmanager.enable = true;
services.tailscale.enable = true;
networking.firewall.interfaces.tailscale0 = {
allowedTCPPortRanges = [
{
from = 0;
to = 65535;
}
];
};
time.timeZone = lib.mkDefault "Europe/London";
@ -34,15 +43,6 @@ in {
useXkbConfig = true;
};
# networking.firewall.interfaces.tailscale0 = {
# allowedTCPPortRanges = [
# {
# from = 0;
# to = 65535;
# }
# ];
# };
services.avahi.enable = true;
i18n.defaultLocale = lib.mkDefault "en_GB.UTF-8";