mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-11 20:40:24 +01:00
feat: open ports for testing
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user