tweak(networking): expand tailscale firewall rules

This commit is contained in:
Infinidoge 2022-05-23 00:36:00 -04:00
parent 8b78636355
commit eb2071d954

View file

@ -1,8 +1,12 @@
{ pkgs, ... }: { pkgs, config, ... }:
{ {
networking = { networking = {
useDHCP = false; useDHCP = false;
firewall.checkReversePath = "loose"; firewall = {
checkReversePath = "loose";
trustedInterfaces = [ "tailscale0" ];
allowedUDPPorts = [ config.services.tailscale.port ];
};
}; };
services = { services = {