fw ports
This commit is contained in:
parent
80c9aed243
commit
51ab101f6e
|
@ -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;
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue