petersweb-infra/nixos/firewall.nix

16 lines
230 B
Nix

{pkgs, ...}: {
networking.firewall.allowedTCPPorts = [
80 #nginx/http
22 #ssh
222 #ubuntu vm ssh
443 #ssl
2200 #forgejo ssh
3000 #forgejo http
8082 #webdav
9090 #sync.io
9091 #caddy
];
}