tweak(networking): expand tailscale firewall rules
This commit is contained in:
parent
8b78636355
commit
eb2071d954
1 changed files with 6 additions and 2 deletions
|
@ -1,8 +1,12 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
networking = {
|
||||
useDHCP = false;
|
||||
firewall.checkReversePath = "loose";
|
||||
firewall = {
|
||||
checkReversePath = "loose";
|
||||
trustedInterfaces = [ "tailscale0" ];
|
||||
allowedUDPPorts = [ config.services.tailscale.port ];
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue