feat: open ports for testing

This commit is contained in:
Ryan Yin
2025-07-04 17:09:48 +08:00
parent 1e937dc832
commit c4a33c55aa
2 changed files with 18 additions and 2 deletions

View File

@@ -1,4 +1,22 @@
{
networking.firewall.allowedTCPPorts = [
# localsend
53317
# tcp ports for testing & sharing
63080
63081
63082
63083
63084
63085
63086
63087
63088
63089
];
# networking.firewall.allowedUDPPorts = [ ... ];
# Network discovery, mDNS
# With this enabled, you can access your machine at <hostname>.local
# it's more convenient than using the IP address.

View File

@@ -1,6 +1,4 @@
{lib, ...}: {
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
networking.firewall.enable = lib.mkDefault false;
# Enable the OpenSSH daemon.