clean up networking on tailnet

This commit is contained in:
Don Harper 2025-08-06 23:33:17 -05:00
parent 12af203ff1
commit e32816dcf6
4 changed files with 21 additions and 14 deletions

View file

@ -67,19 +67,19 @@ in {
to = 1764;
}];
allowedTCPPorts = [ 22 ];
interfaces = {
"tailscale0" = {
allowedTCPPorts = [ 22 8080 8443 8384 ];
allowedTCPPortRanges = [{
from = 1714;
to = 1764;
}];
allowedUDPPortRanges = [{
from = 1714;
to = 1764;
}];
};
};
# interfaces = {
# "tailscale0" = {
# allowedTCPPorts = [ 22 8080 8443 8384 ];
# allowedTCPPortRanges = [{
# from = 1714;
# to = 1764;
# }];
# allowedUDPPortRanges = [{
# from = 1714;
# to = 1764;
# }];
# };
# };
};
};
@ -133,7 +133,10 @@ in {
};
};
powerManagement.powertop.enable = true;
services = {
power-profiles-daemon.enable = false;
avahi = {
enable = true;
nssmdns4 = true;