fix firewall
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
{
|
{config, ...}: {
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
trustedInterfaces = ["eno1" "tailscale0"];
|
trustedInterfaces = ["eno1" "tailscale0"];
|
||||||
|
allowedUDPPorts = [config.services.tailscale.port];
|
||||||
|
allowedTCPPorts = [22];
|
||||||
|
checkReversePath = "loose";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user