clean up networking on tailnet
This commit is contained in:
parent
12af203ff1
commit
e32816dcf6
4 changed files with 21 additions and 14 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue