poseidon: trust tailscale0 interface in firewall

This commit is contained in:
Antoine Martin 2021-07-13 23:36:13 +02:00
parent bd02870e9f
commit 3862992b76

View file

@ -40,6 +40,10 @@ in
systemd.services.tailscaled = { systemd.services.tailscaled = {
path = [ pkgs.procps ]; path = [ pkgs.procps ];
}; };
networking.firewall = {
trustedInterfaces = [ "tailscale0" ];
allowedUDPPorts = [ config.services.tailscale.port ];
};
virtualisation.docker = { virtualisation.docker = {
enable = true; enable = true;