NixOS 24.11 upgrade; drop OpenVPN for WireGuard; clean up open ports

This commit is contained in:
2024-12-05 09:19:27 -06:00
parent ecfc60b2bb
commit 029653476f
8 changed files with 62 additions and 75 deletions

View File

@ -2,14 +2,14 @@
networking = {
hostName = "eve-psr-nix0";
firewall = {
allowedTCPPorts = [ 22 80 443 3000 7860 9418 23231 23232 23233 ];
allowedUDPPorts = [ 53 1194 ];
allowedTCPPorts = [ 22 80 443 23231 23232 23233 ];
allowedUDPPorts = [ 53 51820 ];
trustedInterfaces = [ "tun0" ];
};
nat = {
enable = true;
externalInterface = "enp1s0";
internalInterfaces = [ "tun0" ];
internalInterfaces = [ "tun0" "wg0" ];
};
};
}