fix networking

This commit is contained in:
♥ Minnie ♥ 2023-07-30 09:13:40 +08:00
parent 2b9c3b7b4c
commit 4999b71c94
10 changed files with 22 additions and 12 deletions

View file

@ -111,8 +111,20 @@
networkmanager.enable = true;
firewall = {
enable = true;
allowedTCPPorts = [ 80 443 32400 32372 ];
allowedUDPPorts = [ 80 443 32400 32372 ];
allowedTCPPorts = [
53 # pihole-FTL (DNS)
80 # traefik (HTTP)
443 # traefik (HTTPS)
32400 # plex
32372 # qbittorrent
];
allowedUDPPorts = [
53 # pihole-FTL (DNS)
80 # traefik (HTTP)
443 # traefik (HTTPS)
32400 # plex
32372 # qbittorrent
];
};
};