This commit is contained in:
m3tam3re 2023-04-14 06:26:07 +02:00
parent 80c9aed243
commit 51ab101f6e
2 changed files with 1 additions and 2 deletions

View File

@ -20,7 +20,7 @@
to = 3100; to = 3100;
}]; }];
firewall.allowedTCPPorts = [ 53 80 443 5432 3306 3478 ]; firewall.allowedTCPPorts = [ 53 80 443 5432 3306 3478 ];
firewall.allowedUDPPorts = [ 53 51820 ]; firewall.allowedUDPPorts = [ 53 51820 41641 ];
firewall.allowedUDPPortRanges = [{ firewall.allowedUDPPortRanges = [{
from = 3478; from = 3478;
to = 3481; to = 3481;

View File

@ -5,7 +5,6 @@
}; };
networking.firewall = { networking.firewall = {
trustedInterfaces = [ "tailscale0" ]; trustedInterfaces = [ "tailscale0" ];
allowedUDPPorts = [ config.services.tailscale.port ];
}; };
systemd.services.tailscale-autoconnect = { systemd.services.tailscale-autoconnect = {
description = "Automatic connection to Tailscale"; description = "Automatic connection to Tailscale";