global/networking: use tailscale openFirewall
This commit is contained in:
parent
9268453422
commit
c9dcc69359
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,6 @@
|
||||||
useDHCP = true;
|
useDHCP = true;
|
||||||
firewall = {
|
firewall = {
|
||||||
trustedInterfaces = [ "tailscale0" ];
|
trustedInterfaces = [ "tailscale0" ];
|
||||||
allowedUDPPorts = [ config.services.tailscale.port ];
|
|
||||||
};
|
};
|
||||||
search = [
|
search = [
|
||||||
# Tailscale
|
# Tailscale
|
||||||
|
@ -34,6 +33,7 @@
|
||||||
services = {
|
services = {
|
||||||
tailscale = {
|
tailscale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
openFirewall = true;
|
||||||
useRoutingFeatures = if config.info.stationary then "both" else "client";
|
useRoutingFeatures = if config.info.stationary then "both" else "client";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue