global/networking: use tailscale openFirewall

This commit is contained in:
Infinidoge 2024-02-14 09:56:33 -05:00
parent 9268453422
commit c9dcc69359
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A

View file

@ -6,7 +6,6 @@
useDHCP = true; useDHCP = true;
firewall = { firewall = {
trustedInterfaces = [ "tailscale0" ]; trustedInterfaces = [ "tailscale0" ];
allowedUDPPorts = [ config.services.tailscale.port ];
}; };
search = [ search = [
# Tailscale # Tailscale
@ -34,6 +33,7 @@
services = { services = {
tailscale = { tailscale = {
enable = true; enable = true;
openFirewall = true;
useRoutingFeatures = if config.info.stationary then "both" else "client"; useRoutingFeatures = if config.info.stationary then "both" else "client";
}; };