simple nixos mail server

This commit is contained in:
Henri Dohmen 2026-01-29 23:40:11 +01:00
parent 6bee6cb48c
commit b4298d5f3e
Signed by: hd
GPG key ID: AB79213B044674AE
7 changed files with 169 additions and 10 deletions

View file

@ -21,6 +21,17 @@ in
interface = "ens3";
};
firewall = {
enable = true;
interfaces."wg0" = {
allowedTCPPorts = [ 25565 ];
};
allowedTCPPorts = [
80
443
];
};
nat = {
enable = true;
externalInterface = "ens3";