Files
infra/nixos/hosts/mini-pc/firewall.nix
T
Dmitry 9b66b72729
NixOS switch mini-pc / switch (push) Failing after 13m30s
NixOS switch cloud-pc / switch (push) Has been cancelled
Move host firewall configs into host dirs
2026-05-30 11:24:56 +03:00

30 lines
500 B
Nix

{
networking.firewall = {
enable = true;
allowedTCPPorts = [
22 # SSH
53 # DNS (AdGuard)
80 # HTTP
443 # HTTPS
784 # DNS-over-QUIC
853 # DNS-over-TLS
3001 # Uptime Kuma
3015
20171 # v2raya SOCKS5
20172 # v2raya HTTP proxy
20170 # v2raya mixed
4438
5443
8088
10380
];
allowedUDPPorts = [
53 # DNS
443 # QUIC
784 # DNS-over-QUIC
9993 # ZeroTier
5443
];
};
}