mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 09:28:27 +02: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
|
# Network discovery, mDNS
|
||||||
# With this enabled, you can access your machine at <hostname>.local
|
# With this enabled, you can access your machine at <hostname>.local
|
||||||
# it's more convenient than using the IP address.
|
# it's more convenient than using the IP address.
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
{lib, ...}: {
|
{lib, ...}: {
|
||||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
|
||||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
|
||||||
# Or disable the firewall altogether.
|
# Or disable the firewall altogether.
|
||||||
networking.firewall.enable = lib.mkDefault false;
|
networking.firewall.enable = lib.mkDefault false;
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
|
|||||||
Reference in New Issue
Block a user