open port for syncthing
This commit is contained in:
parent
c011c2f38a
commit
94016234e7
1 changed files with 2 additions and 1 deletions
|
|
@ -42,7 +42,8 @@
|
||||||
useDHCP = true; # VPS typically use DHCP
|
useDHCP = true; # VPS typically use DHCP
|
||||||
firewall = {
|
firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [ 22 80 443 ]; # SSH, HTTP, HTTPS
|
allowedTCPPorts = [ 22 80 443 22000 ];
|
||||||
|
allowedUDPPorts = [ 22000 ];
|
||||||
trustedInterfaces = [ "tailscale0" ];
|
trustedInterfaces = [ "tailscale0" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue