1{ 2 networking.firewall = { 3 allowedTCPPorts = [ 4 80 5 443 6 6912 7 34197 8 ]; 9 allowedUDPPorts = [ 10 4367 11 34197 12 ]; 13 trustedInterfaces = [ 14 "tailscale0" 15 "wg0" 16 ]; 17 }; 18}